I just now got myself a C++ book and wanted to start learning. I got Microsoft Visual C++ Express 2005 and I found the typical first program in the book
well I compiled and got the .exe. but it only opens for a millisecond and closes right away. The book says it should actually not do that. So what am I doing wrong? Plz don't be to complicated im a noob.Code:// a small C++ program #include <iostream> int main() { std::cout << "Hello, world!" << std::endl; return 0; }
PS: I tried searchig but somehow there was nothing