User forums > General (but related to Code::Blocks)

How to see output in a wxWidgets project?

<< < (3/3)

Otto:

--- Quote from: stahta01 on September 25, 2010, 06:15:12 pm ---Note: Flush was necessary to see output


--- Code: ---std::cout << "Test Message" << std::flush;

--- End code ---

--- End quote ---
That was it! Thanks.

Sorry everyone, I'm new to C++.

Jenna:
I used std::endl as last argument and that also seems to flush.

Otto:
I confirm endl is enough.

Navigation

[0] Message Index

[*] Previous page

Go to full version