Executing problem

Hi all!!
i'm new in this, i just got in c++ a couple of days ago and i got a problem. When i want to execute whatever i program in c++ it finish rapidly

for example in the clasical hello world

#include <iostream>
using namespace std;

int main ()
{
cout << "Hello World!";
return 0;
}

i can't see the phrase because the program get close inmidiatly.
is there something i can do???
Topic archived. No new replies allowed.