摘要: 函数形参诗引用,程序输出如程序最后的注释,表明引用s代表的是对象s2.//函数中的引用#includeusing namespace std;class Sample { int x;public: Sample(int a): x(a) { coutusing names... 阅读全文
posted @ 2015-11-01 21:00 薛浩xh 阅读(465) 评论(0) 推荐(0)