摘要: #include<iostream> #include<list> #include<string> #include<cstdlib> using namespace std; //使用list(双向链表)容器对象实现简单的学生管理系统 //list简单使用 class Student{ //学生 阅读全文
posted @ 2021-02-16 23:28 nanfengnan 阅读(93) 评论(0) 推荐(0)
摘要: #include<iostream> using namespace std; template<typename T> //函数模板 T maxr(T a,T b){ return a>b?a:b; } template<typename T> //类模板 class test{ private: 阅读全文
posted @ 2021-02-16 21:27 nanfengnan 阅读(30) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/alantu2018/p/8459250.html 大神的文章 阅读全文
posted @ 2021-02-16 11:55 nanfengnan 阅读(26) 评论(0) 推荐(0)