I'm new,
I am using Dev-C++ as my compiler. My program is compiling but does stay on the screen, it just close right after I run it. How can I keep the window open when I run my program?
//This is my first program in C++
#include <iostream>
using namespace std;
int main ()
{
cout << "Robert";
return 0;
}
What can I add to stop the program from closing?