|
-
December 29th, 2010, 09:40 AM
#3
Re: Load & Saving Files
Why don't you just redirect the output on the command line by calling
Code:
myprog.exe dirname > results.txt
If you really want it done in code then there's plenty of either OS dependant ways or other methods using the standard library. Check out fstream here ... http://www.cplusplus.com/reference/i...ostream/write/
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|