I went there, and as you told me, there were under the build targets tab, the option pause after execution ends at both targets (debug and release) enabled. I unchecked both of them and tried to run both programs. Unfortunately the same thing happened. I tested with the basic program as well (after unchecking pause after execution ends as well):
#include <iostream.h>
using namespace std;
int main ()
{cout<<"Hello world!";
return 0;
}
There was no change.
I have not done much change inside the program settings, probably there are some settings to be done; I am a rookie at this program, so, even if I stumbled on the complex settings once or twice, I didn't change a thing.