Original Post
I was messing around with getting text to appear on screen and after a while I decided to reboot my computer. Well, it got to the logon screen and then my computer decided to shut down. Fluke I supposed. I tried again. Same thing. Got a little sweaty under the collar. Tried booting into safe mode. Same thing. I ended up having to go through the emergency recovery console on my OS disc (which I luckily still have) to fix Windows. It finally worked, but not without adverse effects. My Administrator profile apparently remained corrupted, so I had to recreate it. Ended up dealing with a slew of other problems, but I won't go into those. The reason behind all this chaos? I believe it was because I didn't set a pointer in my program = to NULL. I'm guessing that it decided to point to some random memory location and started screwing around with it. I'm guessing that memory location was held by Windows and some of the other applications that I had to reinstall afterwards. NULL sets it to location 0x000000 or whatever it is. Which is safe. My question is this: if pointers are capable of this type of damage, is there anything else I should be aware of before I go a-programming again? I don't want to have to reinstall IE6, the MSDN Library, run through the emergency recovery console, and change shirts four times because I'm sweating about losing my data on my hard drive again.