User forums > Help

Code::Blocks crashed while I was writing code and wiped my main.cpp to be blank

(1/3) > >>

Dp-Rst:
Hi guys, it crashed and said wx something has stopped working, i thought ok, stuff like that happens from time to time and clicked close on the pop up, reopened the project and it was blank, 55k of code wiped, I'm an Idiot so I didn't keep backups, didn't expect anything like this to happen and my pc is pretty stable, I've tried recovery software, no windows rollbacks are possible and I don't have previous versions.

Does anyone know if its possible to somehow salvage it, it there is a temp or dump or something I can use?

I've been working on this project daily for 6months, It had a small following and was growing fast in popularity, I even received money for it and thought it would be the key to my future as a game dev, so yesterday I got a shock, genuinely the worst day of this year, then after trying everything I went out and got drunk to try and get over the loss of half a years work losing my keys and phone in the process.

Sorry for the sob story but if anyone knows anything on how I could possibly hope to recover the games main.cpp please tell me and I would be eternally greatfull... hell I'll even pay you $10 on paypal... I'm desperate at this point, I've done nothing but coding for half a year with prescious little to show for it now :/

Thanks for reading and please don't hesistate to reply with absolutely anything you think could help

BlueHazzard:
This seems to get a new hype...
http://forums.codeblocks.org/index.php/topic,20657.msg140629/topicseen.html#msg140629

i never experienced such a crash... Is your file really 0kB big? (by the way 55k code in one file and no vcs? are you insane, or perhaps a sadomasochist? )

can you tell us your operating system and what you where doing when the crash happened?

greetings

Dp-Rst:
I was just writing code when it happened, I just never really thought about back ups, clearly not the smartest person... I've lost half a year of my life to this random codeblocks crash... yup 0kb big, empty file

BlueHazzard:
as in the other post described c::b can NOT destroy a file, without making a backup... so unless you did something really wrong there should be a backup of your old file.
What operating system are you using? where is your project folder?

Dp-Rst:
Project folder is on my desktop in a folder called the wastes, I'm sure I didn't do anything wrong it just crashed in the middle of me typing a line, no idea why.

It didn't destroy the file, it just overwrote it with a blank version

Navigation

[0] Message Index

[#] Next page

Go to full version