I mean I want to print the result of my program in a text file instead of showing the result in the console page, so please guide me to do that in C++.
Loading
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Joe WilsonPosted Jan 19, 2015, 2:25 PM
VulpesPosted Jan 19, 2015, 12:17 PM
For an example, check out:
http://www.cplusplus.com/reference/cstdio/freopen/
Joe WilsonPosted Jan 18, 2015, 11:49 AM
Sanjeewa AbeywardanaPosted Jan 18, 2015, 10:02 AM