Capture debug-output to file of printf/cout statements in VC++
Posted on 2001-08-03
How can I capture the output of cout and printf statements of a console program when run as a debugged process in MS Visual C++? Usually from the command prompt I'd use the pipeline symbol for this. How can I accomplish the same when I choose Build->Execute, or Build->Debug or F5 and the like?
It doesn't work to set the program arguments with a pipeline symbol...
Any help appreciated