![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Dec 2007
Posts: 16
Rep Power: 0
![]() |
Why doesn't certain programs run?
Sometime, when I create simple programs, it simply doesn't run on the compiler. It shows that I have no "errors" but it also says "execution terminated".
Why does this happen and what can I do? Thank you. ![]() |
|
|
|
|
|
#2 |
|
Programming Guru
![]() |
Re: Why doesn't certain programs run?
Could you post an example of some code that this happens with?
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Dec 2007
Posts: 16
Rep Power: 0
![]() |
Re: Why doesn't certain programs run?
Well, the problem is that sometimes the compiler runs the program and sometimes it doesn't; even when the program has no errors. By the way, I use Dev-C++ beta. Might that be the problem?
|
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 372
Rep Power: 0
![]() |
Re: Why doesn't certain programs run?
Is it the exact same code that sometimes runs and sometimes doesn't? Your program could have an error in it and be crapping out at runtime. Next time it happens post the code here so we can try it to see if it's your compiler or your code.
__________________
I am Addicted to Linux! |
|
|
|
|
|
#5 |
|
PFO God In Training
![]() Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 532
Rep Power: 4
![]() |
Re: Why doesn't certain programs run?
>>so we can try it to see if it's your compiler or your code.
Don't blaim the compiler, that compiler has been tested on thousands of computers all over the world. The chances of a compiler bug now is almost nill. Most likely you have a bug in your program. The only way for anyone here to tell you what that bug is is to post the code. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to run command prompt with admin rights | venkatramasamy | Visual Basic | 5 | Nov 23rd, 2007 1:37 AM |
| imap run | persianman | PHP | 0 | Oct 2nd, 2007 5:25 PM |
| question about c and calc programs | dark_omen | C | 11 | Sep 20th, 2006 3:33 PM |
| the best way to pass data between two programs | nindoja | C# | 7 | Dec 26th, 2005 11:54 PM |
| how to get bash programming like flexibility in compiled programs? | linuxpimp20 | Other Programming Languages | 3 | Aug 31st, 2005 7:40 AM |