I am extremly new to C++ (I started about an hour ago). I learned how to make the "hello world" file, but I want to know how to keep it open (because it closes automatically).
So far, I have:
cout << "Hello world!" << endl;
Can someone please tell me the code to keep the window open?