Possible Duplicate:
C++ - Hold the console window open?
I'm new to Visual Studio (actually Express), and I'm writing simple programs that write to the console in C++.
How can one run the program in a console from Visual Studio?
Directly running the program (ie. selecting Debug > Start Debugging) makes the program open a console window and then close.
The way I'm doing it now is opening the command prompt and running the program from there. Can one do this from Visual Studio directly?