Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jan 17th, 2008, 6:18 PM   #1
wannabe7
Newbie
 
Join Date: Dec 2007
Posts: 16
Rep Power: 0 wannabe7 is on a distinguished road
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.
wannabe7 is offline   Reply With Quote
Old Jan 17th, 2008, 6:19 PM   #2
Sane
Programming Guru
 
Sane's Avatar
 
Join Date: Apr 2005
Location: Waterloo, Ontario
Posts: 1,835
Rep Power: 5 Sane will become famous soon enough
Send a message via MSN to Sane
Re: Why doesn't certain programs run?

Could you post an example of some code that this happens with?
Sane is offline   Reply With Quote
Old Jan 17th, 2008, 6:31 PM   #3
wannabe7
Newbie
 
Join Date: Dec 2007
Posts: 16
Rep Power: 0 wannabe7 is on a distinguished road
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?
wannabe7 is offline   Reply With Quote
Old Jan 17th, 2008, 8:41 PM   #4
King
Professional Programmer
 
King's Avatar
 
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 372
Rep Power: 0 King is an unknown quantity at this point
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!
King is offline   Reply With Quote
Old Jan 17th, 2008, 10:14 PM   #5
Ancient Dragon
PFO God In Training
 
Ancient Dragon's Avatar
 
Join Date: Jun 2005
Location: near St Louis, MO. (USA)
Posts: 532
Rep Power: 4 Ancient Dragon is on a distinguished road
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.
Ancient Dragon is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

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




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 2:08 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC