Exporting data to Notepad

Mar 15, 2013 at 3:04pm
Can you show me a tutorial to export data used on a program of C++ to a Notepad/Excel or explain me what to do :)
Mar 15, 2013 at 3:25pm
Output the data to a .txt file for notepad. There's nothing special you need to do in that case.

You could do the same for excel, but it is useful to separate each field (column) with a character such as comma or tab.

See ofstream:
http://www.cplusplus.com/doc/tutorial/files/
Topic archived. No new replies allowed.