Data file

Hey. How do i create a data file?
1) Open a file for writing

2) Write data to it

3) Close the file

File operations should be covered in whatever tutorial source you're using to learn C++.
closed account (N36fSL3A)
http://www.cplusplus.com/reference/fstream/fstream/?kw=fstream
Topic archived. No new replies allowed.