code currupt

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: May 2006
Posts: 13
Reputation: achala is an unknown quantity at this point 
Solved Threads: 0
achala achala is offline Offline
Newbie Poster

code currupt

 
0
  #1
May 23rd, 2006
hello,
am doing a project for school . it involves a lot of file and string operations and i keep compiling the code over and over again to see if it is working properly ... all of a sudden the code simple stopped executing .. the code ran a number of times before now it just refuses to run ... why does the code corrupt so easily ?? is there any solution to this ??coz i dont want the code to crash during my demo... i use the bloodshed Dev C++ compiler .
pls help
thankx
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 5,273
Reputation: iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold iamthwee is a splendid one to behold 
Solved Threads: 378
Featured Poster
iamthwee's Avatar
iamthwee iamthwee is offline Offline
Posting Expert

Re: code currupt

 
0
  #2
May 23rd, 2006
let me see that code?
*Voted best profile in the world*
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,823
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 748
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Senior Bitch

Re: code currupt

 
0
  #3
May 23rd, 2006
Sorry, but you wore out your code. The only way to fix the problem is to print the source out and then type it all back in fresh. This also happens when you let code sit too long and it starts to rot.

But seriously, if your code suddenly stops working it means you either introduced a bug, or uncovered an existing bug.
New members chased away this month: 3
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 13
Reputation: achala is an unknown quantity at this point 
Solved Threads: 0
achala achala is offline Offline
Newbie Poster

Re: code currupt

 
0
  #4
May 23rd, 2006
i deleted that code .. every bit of it ... have to type it in again ... but am surethat if i run it again too many times to correct it its gonno crash again ... just wanted to knw if there is anything i can do to avoid it ?? is this coz of the memory locations being used over and over again ?? can this be avoided?
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,823
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 748
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Senior Bitch

Re: code currupt

 
0
  #5
May 23rd, 2006
>is this coz of the memory locations being used over and over again ??
Memory doesn't work that way.

>but am surethat if i run it again too many times to correct it its gonno crash again
What makes you so sure? It sounds like you're trying to blame everything but yourself, when the problem is 99.9% sure to be you.
New members chased away this month: 3
Reply With Quote Quick reply to this message  
Join Date: May 2006
Posts: 13
Reputation: achala is an unknown quantity at this point 
Solved Threads: 0
achala achala is offline Offline
Newbie Poster

Re: code currupt

 
0
  #6
May 24th, 2006
maybe ur rite.. sorry .. wil try again.
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,585
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1487
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: code currupt

 
0
  #7
May 24th, 2006
Originally Posted by Narue
Sorry, but you wore out your code. The only way to fix the problem is to print the source out and then type it all back in fresh. This also happens when you let code sit too long and it starts to rot..
:cheesy: :cheesy: :cheesy: you really should have put a smily after that so that some gullible sole (like me) will see the satire. Funniest thing I've read all day.:cheesy:
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC