Question:
Problem with execution of program in Dev C++?
anonymous
2013-03-12 08:41:21 UTC
Hi! I have a problem in executing programs in Dev. Thing is, i compile the program and then run it. The output screen comes up for a while, and while I'm even typing in the inputs, the output screen disappears. Sometimes its this, and sometimes while compiling also, the message that appears is: " Permission Denied. Id returned 1 exit status.". Please help. :S
Four answers:
davinder
2016-10-26 01:47:02 UTC
nicely, FER has the answer and that i have both a probability motives. a million. once you ran this methodology ( Execute / Run ) it likely popped open the DOS container and then closed it so quick that the human eye couldn't see it. it ought to do this because the line 'go back 0;' in significant does in basic terms that and living house windows (being ever so tidy!) cleans it off the exhibit screen as we talk. 2. on party, i have forgotten that I easily could easily run it when I assemble it! The fix above holds the DOS container open until eventually you hit a key, any key. Then it truly is going to close.
green meklar
2013-03-13 13:10:50 UTC
Usually, when the error message 'Id returned 1 exit status' appears, it means you forgot to close off the previous process you started before trying to compile your code to that same file. If the process has no console window, you can find it in the Task Manager and shut it off (on Linux, you can use ps -A and kill instead).
Erika
2016-10-25 04:15:27 UTC
nicely, FER has the answer and that i have both a probability motives. a million. once you ran this methodology ( Execute / Run ) it likely popped open the DOS container and then closed it so quick that the human eye couldn't see it. it ought to do this because the line 'go back 0;' in significant does in basic terms that and living house windows (being ever so tidy!) cleans it off the exhibit screen as we talk. 2. on party, i have forgotten that I easily could easily run it when I assemble it! The fix above holds the DOS container open until eventually you hit a key, any key. Then it truly is going to close.
?
2013-03-12 08:59:30 UTC
Download and use Code::blocks with minGW because Dev C++ sucks...

http://www.codeblocks.org/downloads/26



edit: I've seen some of your work now... I highly recommend Code::Blocks now because I see you are starting to fall into the habits of Dev C++ programmers and writing non-standard code.



code::blocks will automatically pause the output screen for you so no more using that getch() hack which wouldn't work in standard c++ without including an entire library you don't even need.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...