Can only run my program one time

Dev-C++ forum,


I created a couple of short practice programs a couple of months
ago and with help from this forum I got them working. Getting
back to them now I can load a project, click on a file and
compile and run it successfully. However after I run it the
compile, run, compile and run buttons are grayed out so I can’t
run it again. If I close and re-start Dev-c++, again I can only
compile and run the program one time.

What am I doing wrong?


This sounds like your program does not exit properly (maybe hangs waiting for threads to finish or got stuck in an infinite loop). Check your system’s running processes for your program and close it forcefully until you identified and fixed the issue.
Once it is terminated, the IDE should take notice that and re-enable the compilation and run buttons.