摘要: 上代码#include using namespace std;class A{ public: A(int v): j(v + 2), i(j) {} void print_val() { cout using namespace std;class A{ public: A(int v): i(v), j(v + 2) {} void print_val() { cout << "hello:" << i << " " << j << endl;} private: int i; int . 阅读全文
posted @ 2013-12-16 22:56 jihite 阅读(715) 评论(0) 推荐(0)