Archived

This topic is now archived and is closed to further replies.

russian-bear

corrupt main.cpp file !! ??

Recommended Posts

Hi! Recently when i loaded my project in VC++6 my main.cpp file contained only hexcode of zeros. Im verry disapointed... i gues it meens that my project is flushed down the toilet..... How can VC++ write over a .cpp file isn it only supose to parse it? [edited by - russian-bear on May 1, 2002 11:07:14 AM]

Share this post


Link to post
Share on other sites
it saves the files as well.. that _can_ mean that it saves bullshit..

had any crash while compiling?
well.. its not needed to talk about, it happened yet, so i cant help you anymore..

good luck for the future..

i''ve lost 2 project yet like that..

"take a look around" - limp bizkit
www.google.com

Share this post


Link to post
Share on other sites
russian-bear:

Have you run a (thorough) disk check on your hard drive? Bad sectors do happen, even on new hard disks.

Also, if you're running VC++ on Win95, 98, 98SE or ME, don't. They really aren't up to running heavy-duty software.

The NT-based versions of Windows are several orders of magnitude better. Windows XP Pro may be more expensive, but if you're a student, MS' academic schemes make it much more affordable.

(Linux is also more stable, but it's just so '90s. OS X is the new 'in' Unix.


--
Sean Timarco Baggaley

[edited by - stimarco on May 1, 2002 12:54:12 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
Have you tried opening your CPP file in other text editors? Just to ensure that it''s not VC++ reading the file all wacky.

I had this happen once, maybe you should check your FILExxxxx.CHK scandisk output files in the root directory (or wherever scandisk stores them), you might be able to retrieve the code from there too. I was able to pull this off a couple times when I was Glide programming and I kept locking the system up!

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
As an addendum, you really should consider storing your code on an NTFS-formatted disk drive, this sort of thing doesn''t happen so easily. WinNT, 2000, and XP all support this format, and if you want to do a live disk-conversion without formatting first, then obtain a copy of Partition Magic 7.

Backup is great, but if you only do daily/weekly backups, you can still lose a day/week of work... Other precautions (such as a hearty file system) help a lot too...

Share this post


Link to post
Share on other sites