How do I create a new file?

Aug 10, 2011 at 9:32am
I would like to create a new file in my computer via a programme. How can I do it?
Last edited on Aug 10, 2011 at 9:33am
Aug 10, 2011 at 9:38am
This is a feature so old and the very question is asked often. Did you even try googling it?

http://www.cplusplus.com/reference/iostream/fstream/
Aug 10, 2011 at 9:39am
http://www.cplusplus.com/doc/tutorial/files/
or alternatively, you could use OS specific functions.
Last edited on Aug 10, 2011 at 9:39am
Topic archived. No new replies allowed.