User forums > Help
Code::Blocks crashed while I was writing code and wiped my main.cpp to be blank
BlueHazzard:
i still don't know your operating system (so i assume you are using windows, probably windows 8?)...
have you looked if there is a *.temp file in your project folder?
Dp-Rst:
Yup sorry it was windows 8.1 and there are no temp files hidden or otherwise
Manolo:
If nothing else works, you can try some file-recovery tool. You may find some on the Internet. Better run it from a USB (don't install in HD).
The thing is that a deleted file is not really deleted, but its space is marked as available. Recovery tools can search in these areas. If a new file is written with the same name the probability of recover old data is lower. If the HD is defragmented, available areas will be overwritten, which means data in those areas is lost. Generaly, every write operation lowers the probability of recovery.
You also may recover several different old data versions, since they may be written in diferent parts of the HD.
Good luck
Dp-Rst:
Hi Manolo, I already tried three internet recovery tools when it first happened each with no luck :/
scarphin:
Did you try some undelete tool, it might help?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version