| | |
code currupt
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: May 2006
Posts: 13
Reputation:
Solved Threads: 0
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
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
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.
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
•
•
Join Date: May 2006
Posts: 13
Reputation:
Solved Threads: 0
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?
>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.
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
•
•
•
•
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..
![]() |
Similar Threads
- Why won't this code work? (VB.NET)
- Some Basic Code Hopefully (Help Needed) (HTML and CSS)
Other Threads in the C++ Forum
- Previous Thread: Quick question about switch()
- Next Thread: To thread or not to thread?
| Thread Tools | Search this Thread |
Tag cloud for C++
api application array arrays assignment beginner binary bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion convert count data database delete developer display dll dynamiccharacterarray email encryption error file format forms fstream function functions game generator getline givemetehcodez graph iamthwee ifstream image input int java lib list loop looping loops map math matrix memory multidimensional multiple newbie news node number numbertoword output pointer problem program programming project python random read recursion recursive reference return rpg sorting string strings struct template templates text tree url variable vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






