摘要: #include using namespace std; //ADT template class SeqList{ public: //构造函数 SeqList() { this->length = 0; this->data = NULL; } SeqList(int length); SeqList(int le... 阅读全文
posted @ 2017-09-22 19:41 千千寰宇 阅读(914) 评论(0) 推荐(0)
摘要: #include #include //C++ //#include //C #include//C++ #include//C #include//C++ #include//C #include using namespace std; #define PI 3.141592653 // void math(){ //double cos(double); //该函... 阅读全文
posted @ 2017-09-22 18:16 千千寰宇 阅读(378) 评论(0) 推荐(0)
摘要: 声明:如需引用或者摘抄本博文源码或者其文章的,请在显著处注明,来源于本博文/作者,以示尊重劳动成果,助力开源精神。也欢迎大家一起探讨,交流,以共同进步~ 0.0 演示: /* @author:Johnny Zen @date:2017-12-11 13:35 @description:指针Demo[ 阅读全文
posted @ 2017-09-22 17:14 千千寰宇 阅读(1420) 评论(0) 推荐(0)
摘要: 常用STL文件: 注:STL的命名空间名称是std,使用时必须要包含"using namespace std;" 一 迭代器 <iterator> 二 输入输出流 <iostream>(标准输入输出流) <fstream>(文件输入输出流) <sstream>(字符串输入输出流) 三 字符串 <st 阅读全文
posted @ 2017-09-22 09:53 千千寰宇 阅读(271) 评论(0) 推荐(0)