visual studio 2013 - VS Not Prints To The Output Window -


i print , see message in "output window" in visual studio 2013. after running c++ code:

#include <iostream> using namespace std; int main(){      cout << "hello world"; } 

i cannot see message in output window. instead, black window in message "hello world" written seems instantly , closes.

i disabled "redirect output text immediate window". however, still not printing message.

this behavior expected, because program completing functions. can change code this:

    #include <iostream> using namespace std; int main(){     cout << "hello world";     system("pause"); } 

which make window pause until hit key continue, after printing hello world program finished running , close.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

firemonkey - How do I make a beep sound in Android using Delphi and the API? -