Re: Staic array de allocation



Little guy wrote:

lan collins is right,static member will be deallocated when app
exit,refer below example:
#include <stdio.h>

class CTest
{
public: CTest(){ printf("allocate!\n");}
~CTest(){ printf("deallocate!\n");}
void dosomething(){ printf("do something!\n"); }
};


You are confused as to which newsgroup you are reading. This is not a
C++ group.





Brian
.



Relevant Pages

  • RE: Cant connect in to server!
    ... I am able to access RWW from inside the network. ... > The log file you paste to newsgroup is the RRAS wizard, ... > | Reading property value for enabling Remote Access returned OK ... > | Reading the static pool property returned OK ...
    (microsoft.public.windows.server.sbs)
  • Re: YOU ARE UNDER THE GOBLINS SPELL!!!
    ... I won't waste my time telling you. ... This newsgroup is OVER FLOWING ... >>I have been reading and participating in this newsgroup sporadically since ... >>douche bag," and similarly ingenious remarks. ...
    (alt.fan.howard-stern)
  • Re: When is a spike bad news
    ... :: To any diabetic reading this newsgroup. ... :: qualifications without really examining that advice then you are ... diabetics they are not. ... This newsgroup has a rather good record of persuading newbies to get ...
    (alt.support.diabetes)
  • Re: YOU ARE UNDER THE GOBLINS SPELL!!!
    ... I won't waste my time telling you. ... This newsgroup is OVER FLOWING ... >I have been reading and participating in this newsgroup sporadically since ... >douche bag," and similarly ingenious remarks. ...
    (alt.fan.howard-stern)
  • Re: YOU ARE UNDER THE GOBLINS SPELL!!!
    ... I won't waste my time telling you. ... This newsgroup is OVER FLOWING ... I have been reading and participating in this newsgroup sporadically since ... As to your accusation that I am an intern, ...
    (alt.fan.howard-stern)