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++
using namespace std;
int main ()
cout << "Robert";
What can I add to stop the program from closing?
Last edited on