This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Corrupted main.c file

Hi,

Last night I had saved the project I was working on and when I opened it today, I found that my main.c file is corrupted. It appears to be an endless string of NUL. This is the second time its happened to me now and I don't really know what I'm doing wrong. I've been able to save it successfully before without it being corrupted so I don't know what would be causing this. Anyone have any suggestions to recover the file and/or prevent this from happening again?