Alex Rivera | Logout

How to print to C++Builder output window

Asked 2012-02-22T13:42:43.077
8

I have a C++Builder 2010 project and want to add tests to it. So, instead of pausing the output of my console window to read the outcome of the tests, I want to print the same information to the Output Window in C++Builder (not in the Event Log).

So OutputDebugString is not an option for me. Is there some specific way to either redirect console output to the Output Window or to print directly there?

C++ Builder 2010 output window

Edit
Report

1 Answer

1

That window is for the output of the compilation process. It's not what you are looking for. You want to generate output whilst the program runs. I'd use the console or OutputDebugString or similar and I can't understand what you have against those options.

answered 2012-02-22T14:45:34.540

Your Answer