摘要: #include "stdafx.h" #include using namespace std; class Term { public: const int x; Term( int c); }; /* Term::Term(int c) { x = c; //错误,不能采用在构造函数中对常数据成员赋初值的方法进行初始化 } */ Term::Term(in... 阅读全文
posted @ 2016-05-30 10:15 01Turing 阅读(1486) 评论(0) 推荐(0) 编辑