2013年10月23日
摘要: 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:"<< 阅读全文
posted @ 2013-10-23 17:22 码哥@杭州 阅读(274) 评论(0) 推荐(0) 编辑