摘要:
Fromhttp://blog.csdn.net/hello_shadow/article/details/7007383#includeusingnamespacestd;classObject{int&count;public:Object(int&cou):count(cou){};//如果函数为Object(intcou)则count引用了形参。~Object(){};voidSetValue(intcou){count=cou;}voidDisplay(){cout<<"thevalueofcountinObject:"<< 阅读全文