compile and run DevC++ console programs

Hi there! its me again I am still struglin to compile and run my programs. when u compile a window pops out for about a second then disapear, then after that compaliation when you click on run it gives an error message that say "project is not compiled. so can someone guide me on how to solve this problem
What's your code? Try adding cin.get(); right before return 0; in main(). Don't forget to include iostream and use std namespace. If that doesn't help, just switch to Code Blocks IDE. DevC++ is a bit old and weird..
See http://cplusplus.com/articles/36vU7k9E/
Last edited on
still getting the error
Oh. Were you pressing the "Compile" button? There are three of them: "Compile", "Run" and "Compile and Run". I think. Thy the last one.
Topic archived. No new replies allowed.