//仅仅供自己学习记录一下的.
#include <stdio.h>
class ca{public: void print_static(long c) { static long countor = 0; printf("=== %d.countor %d ===/n",c,++countor); }};
int _tmain(int argc, _TCHAR* argv[]){ static long countor = 0;
ca * p = new ca;
if(p) { p->print_static(++countor); p->print_static(++countor);
delete p; }
p = new ca; if(p) { p->print_static(++countor); p->print_static(++countor);
delete p; }
system("PAUSE");
return 0;}