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
Post a Comment