Ive used both cin.get() and system("pause") to let the program run while keeping the window open. In both cases the program runs one line and then stops. I dont understand why their stopping the program. Im using a dev compiler.
using namespace std;
for(counter=1; counter < 101; counter++);
cout << "is this working" <<endl;