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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -