摘要: #include <iostream> #include <vector> using namespace std; template < class T > //类模板 class Student { public: Student(T x) { this->a = x; } ~Student() 阅读全文
posted @ 2020-02-20 17:57 神迹丶 阅读(237) 评论(0) 推荐(0) 编辑
摘要: 打开设置单元格设置选项后,当前界面,分类下面的选项中,选择“自定义”,并在右侧展示的“类型(T)”下方的对话框中,输入以下代码: [=1]√;[=2]×; 并按确认, [=1] 意思为: 将单元格中,数值=1的值替换为后面的数据, 这里的1可以根据您的选择可以替换为任意的数值. 如果需要添加多个此类 阅读全文
posted @ 2020-02-20 16:23 神迹丶 阅读(3246) 评论(0) 推荐(0) 编辑
摘要: #include <iostream> #include <vector> using namespace std; class reslut { public: reslut() { } int get_a() { return a; } int get_b() { return b; } voi 阅读全文
posted @ 2020-02-20 16:18 神迹丶 阅读(489) 评论(0) 推荐(0) 编辑
网站已运行: