Advertisement

PLEASE Help with malloc()!!

Started by July 28, 2000 09:27 PM
10 comments, last by TheGecko 24 years, 4 months ago
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*HITS HIS HEAD WITH A HAMMER!!!*
*Falls to the floor uncouncious and bleeds to death!*

DOH!!! Out of all the stupidest programming errors I have made this has got to be the gayest one of all!

The problem wasn't with the class at all to begin with!!!
In my main program,I was declaring a pointer to the main class but I DID NOT ALLOCATE MEMORY FOR IT!! DOH wow I'm soo relieved!

Thank you all for your help.Sorry to have put you through all this.I knew it had to be something stupid.I'm going to go jump out the window now.

Edited by - TheGecko on July 29, 2000 2:43:00 PM
Uh.. ha... well, that WAS what I was sugesting Sorry if I didn''t made miself clear

You know, I never wanted to be a programmer...

Alexandre Moura

This topic is closed to new replies.

Advertisement