edit: what year are you?
(Edited by Duekiller at 2:13 am on Oct. 3, 2004)
http://www.cplusplus.com/ref/cstdio/fopen.html
If they did it would be a shame because it would be more worthwile for you to figure it out for yourself.
If people give you links to good tutorials on the subject or if you go to google, you can probably get a quicker solution.