是么时候产生constructor
摘要:
// hhtest.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include <iostream>using namespace std;class fa{public: fa() { cout<<"i am fa"<<endl; }};class son:public fa{public: son(int a) { ... 阅读全文
posted @ 2010-11-02 16:01 ATAK 阅读(150) 评论(0) 推荐(0) 编辑