Tuesday, April 6, 2010

Using pointer without assigning memory.....

I have tried this before and it works.....

class CMyStupidExperiment
{
public:
void CallThisToProve()
{
printf("See I told you......");
}

}

void main()
{
CMyStupidExperiment *pPointerThatActuallyWorks = NULL;
pPointerThatActuallyWorks->CallThisToProve();
}

I say.... noodle over it.....

No comments:

Post a Comment