Tuesday, July 28, 2009

I need help with C++!!!!!?

How can I modify a c++ program so that the program writes the output to a file called output.txt, instead of displaying it? I am using dev-c++. Any help will be appreciated.

I need help with C++!!!!!?
use a filestream instead of cout





or redirect at the command line:


command .exe %26gt; output.log


No comments:

Post a Comment