I want to save my test prog processing result showing to other
newbie, (haha, I am just a new new newbie)
I think is it possible to change cout direction from monitor to a file?
just like we often do in dos:
The statement can save output directory list.Code:c:\>dir >>test.txt
How to do in c++?