I have no idea what you are trying to ask but...
I am guessing you are getting a compiler error here.Code:Fun *p = NULL; p.AllocThread(n);
First, you say is is a pointer to nothing.
Then you try to access p (even though you just said it points to nothing) with the . operator.
???Code:Fun *p = new Fun();




Reply With Quote