How to print C ++ Builder output window

I have a C ++ Builder 2010 project and want to add tests to it. Thus, instead of pausing the output of my console window to read the test results, I want to print the same information in the output window in C ++ Builder (not in the event log).

So OutputDebugString is not an option for me. Is there any specific way to either redirect console output to the output window, or print it right there?

C ++ Builder 2010 output window

+7
source share
2 answers

You can simply define the Post-build event in your project options to run the executable. Its console output is automatically included in the output messages.

+4
source

This window is intended to display the compilation process. This is not what you are looking for. You want to generate output during program startup. I would use a console or OutputDebugString or the like, and I cannot figure out what you have against these parameters.

0
source

All Articles