Sign in to follow this  

C++ Complier

This topic is 4816 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Im using Dev-C++ and everythings fine except when i execute a file it doesnt seem to do the, "Press to continue..." or whatever, it simply just goes off, so if i want to test a screen which has just output, i can never read it. Thanks in advance.

Share this post


Link to post
Share on other sites
I'd just put this before your return statement in main():
int foo;
cin >> foo;


That way you'd have to hit ENTER to terminate the program and close the window. You could also look into running the app from the command prompt.

Share this post


Link to post
Share on other sites

This topic is 4816 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this