strange problem

Hi,
When i compiled my opengl program my pc crashed. when i rebooted and opened my cpp all my codes are changed in hexadecimal format. cpp is full of numbers. Any idea what the problem is?

I’m using VC++ in NTplatform. The same program was working perfectly earlier.

thanks guys

Hi !

If you mean that your source files are filled with crap, I would guess that they where destroyed in the crash, you had just edited the files so they where possibly still in the RAM file cache when your PC crashed so all data was not written back to disk.

If you don’t have any backups I think your code is lost.

Mikael

Actually while opening the file, a dialog box popped up with a message(something like binary mode) with "ok"button only. In a hurry i didn’t read the message fully.