Ok, so I am just learning C++, don't get annoyed. I just want to know why this ends right away and doesn't stay in dos mode when I compile and run it in C++.

Code:
#include <iostream.h>
int main()
{
  cout<<"Hello World!";
}
Ask a stupid question, get a stupid answer.


Thanks