摘要: 1.重载为类的成员函数 #include<iostream>using namespace std;class Shu{public: int m; int n; Shu operator+(Shu &a) { Shu t; t.m = this->m + a.m; t.n = this->n + 阅读全文
posted @ 2024-01-29 15:15 平安喜乐× 阅读(24) 评论(0) 推荐(0)