C++——运算符重载(二) 友元函数实现复数加法#include <iostream>using namespace std;class Complex{public: Complex() { } Complex(int real,int imag) { this->real_ = real; this->imag_ = imag; } c++ 2023-09-02 125 点赞 1 评论 189 浏览