Is there any way to get rid of the "Press any key to continue" in the Dos window.:-/

I am using DevC++ ver. 4.9.8 It gets alittle annoying after awhile.

And yes, I am new to programming.

Recommended Answers

All 4 Replies

run the program from a command window instead of from Dev-C++ IDE.

Take out the system("PAUSE"); line at the end.

If you still want it to pause so you can see the output, use cin.get();

Sorry, for taking so long on replying, was gone for a bit.

I will use the cin.get();

I just like entering the code much better than using the command window.

Thank you for all of your reply's. This C stuff is way cooler than...:)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.