cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
user name:
password:
Forgot your password?
please wait
try again
cancel
forgot your password?
sign up
log in
[Legacy version]
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Exporting data to Notepad
Exporting data to Notepad
Mar 15, 2013 at 3:04pm
Mar 15, 2013 at 3:04pm UTC
spikeash
(2)
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
Mar 15, 2013 at 3:25pm UTC
Chervil
(7320)
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.