What can explain std::cout not to display anything ?

Posted by Benoît on Stack Overflow See other posts from Stack Overflow or by Benoît
Published on 2010-04-13T08:05:58Z Indexed on 2010/04/13 8:22 UTC
Read the original article Hit count: 357

Filed under:
|
|
|
|

For whatever reason, std::cout does not display anything with my application. The description of my development environment follows.

I am working on a Qt application using Qt Creator. Since Qt Creator can't be launched from my station (XP64), i am currently developping it with Visual Studio 2008 and the Qt plugin (by importing the .pro project file). Everything seems fine and the application works.

In some cases (depending on command line arguments), i don't want to launch the HIM, just to display a few sentences in the CLI (command line required arguments, for instance).

I don't get any error, but nothing is displayed. The corresponding code, which i am sure is run is the (classical) following :

std::cout << "is this going to be displayed ?" << std::endl;

Do you have any idea why nothing is displayed ?

© Stack Overflow or respective owner

Related posts about c++

Related posts about cout