I just started reading a book for C++ and have coded Hello World
So I compile it with Dev-C++ and run it, but my dos window flash closes upon executing the script.Code:#include <iostream.h> int main() { cout << "Hello World!\n"; return 0; }
Windows Vista 32b (your standard PC)
I can execute it through this process, but it is very lengthy and redundant:
target of CMD.exe shortcut - C:\Windows\System32\cmd.exe /k "C:\dev-cpp\library\untitled1.exe"