User forums > Help
Code::Blocks crashed while I was writing code and wiped my main.cpp to be blank
CJS:
For what it's worth, this information might help someone:
Five Best Free Data Recovery Tools
Lists TestDisk, Recuva, PhotoRec, Restoration, Undelete Plus
http://lifehacker.com/5237503/five-best-free-data-recovery-tools
There's a poll there which lists these results:
Which Free Data Recovery Tool is Best?
TestDisk 19.01%
Recuva 45.11%
PhotoRec 6.96%
Restoration 5.81%
Undelete Plus 7.22%
Other 15.88%
Total Votes: 3,130
Recuva is free/donationware and there's another review here:
http://www.pcworld.com/article/214998/Recuva.html
and here:
https://en.wikipedia.org/wiki/Recuva
I've used Recuva and NTFS Undelete, the latter is commercial but there is an old version 0.94 available on Softpedia which is freeware but may not support new formats such as NTFS5.
R-Studio is a highly recommended commercial recovery product.
This site gives advice on emergency file recovery, tools, and what you have to do to maximize the chances of a successful recovery and recommends R-Studio:
http://www.aumha.org/a/recover.htm
As for backups, I've never been comfortable with things that do it automatically or save files in some proprietary format... a lesson from the old days of Digital Microvax: One day the file system failed, recovering backups from a tape cassette was attempted, which is when you found out the recovery program didn't work because of some misconfiguration! So, I find FreeFileSync a convenient way to compare and keep a block of user files backed up in normal file format (e.g. on HD, USB stick or SSD).
As far as I can tell the links here are bona fide, but be sure to do your own due diligence.
BlueHazzard:
I think windows 8 makes some wired things... I work on Windows7 and Linux and i never had data loss on a c::b crash.
And also after a fast look at the save code i can not find a part where c::b could possibly corrupt the original file, also at a crash. There should always be some backup copy made by c::b. One thing i can think about is, that if you have a anti virus scanner that he has destroyed your code, or at least prevented c::b for doing his job...
sry about your code, but i think it is lost in nirvana. But don't blame c::b for this ;)
Navigation
[0] Message Index
[*] Previous page
Go to full version