Fork me on GitHub
摘要: 程序示例 1 #include 2 using namespace std; 3 class a 4 { 5 public: 6 a(){cout<<"构造a"<<endl;} 7 ~a(){cout<<"析构a"<<endl;} 8 }; 9 class b10 {11 publ... 阅读全文
posted @ 2015-08-10 22:21 夏成都 阅读(373) 评论(0) 推荐(0) 编辑
摘要: 代码如下 1 //抽象数据类型线性表的定义 2 #include 3 /*-------------------初始化线性表-----------------------*/ 4 void InitList(SqList *&L) 5 { 6 L=(SqList*)malloc(sizeo... 阅读全文
posted @ 2015-08-10 21:13 夏成都 阅读(861) 评论(0) 推荐(1) 编辑