12 2025 档案

摘要:实验一:代码: task1.cpp: #include <algorithm> #include <iostream> #include <stdexcept> #include <vector> #include "contestant.hpp" #include "utils.hpp" cons 阅读全文
posted @ 2025-12-23 22:51 唐文鑫 阅读(4) 评论(1) 推荐(0)
摘要:实验一: 代码:task1.cpp: #include <memory> #include <iostream> #include <vector> #include "publisher.hpp" void test1() { std::vector<Publisher *> v; v.push_ 阅读全文
posted @ 2025-12-16 21:22 唐文鑫 阅读(5) 评论(1) 推荐(0)
摘要:任务一:代码:task.cpp: #include <iostream> #include <string> #include "GradeCalc.hpp" void test() { GradeCalc c1("OOP"); std::cout << "录入成绩:\n"; c1.input(5) 阅读全文
posted @ 2025-12-02 22:56 唐文鑫 阅读(9) 评论(1) 推荐(0)