} spa
int _tmain(int argc, _TCHAR* argv[]) 对象
{ 内存
fun(1); fun(10); class
} gc
输出结果: 程序
coustruct x=1 print:1 print:10 static
static QE obje只在fun(1)调研时构造一次,fun(10)没有调用构造是由于obje对象在程序全局内存里已经存在,并已经构造完成,直接使用同名obje对象就能够了; co