Ah... that did something. I had had it on that, but it was when I typed it (looked the same, though) because it always seemed to revert back. Now, when I debug, it actually tells me if and where I did something wrong, very useful. However... and, for learning purposes, I am working on consoles.
I know that, when they are done exuciting, it will close. However, I want to see the program output. I added a part ot it which would, in theory, make it wait for the input of the user using cin, but it just opens and closes still. Like this:
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!" << endl;
return 0;
int x;
cin >> x;
cout << x << endl;
}
I realize that is more of a code thing, but in the debugger I used before, this would make it wait, so I am wondering...
Also, - I haven't compiled anything yet... it no longer gives errors when I do it, but trying "build", "run", build AND run, etc, don't seem to have effect. Bit confused. I should probbably read up on that article a bit more now that it has a chance of working, though.
THanks.