摘要: 实验任务1 代码组织: T.h:类T的声明、友元函数声明 T.cpp:类T的实现、友元函数实现 task1.cpp:测试模块、main函数 T.h #include <string> // 类T: 声明 class T { // 对象属性、方法 public: T(int x = 0, int y 阅读全文
posted @ 2025-10-27 22:15 bastille433 阅读(9) 评论(1) 推荐(0)