opening prayer and closing prayer for class
Opening "Let us remember we are in the holy presence of God.." "We open our minds and our hearts to the LORD, we pray...."
The Supreme Court ruled on this issue in Marsh v. Chambers[1] in 1983, finding that the opening prayer is not an "establishment of religion" prohibited by the 1st amendment, but merely "a tolerable...
You can use any usual C-functions like fopen/fclose or open/create/close.
You should try youtube