阔达煎蛋

文章
4
资源
0
加入时间
3年2月1天

C++——运算符重载(二)

友元函数实现复数加法#include <iostream>using namespace std;class Complex{public: Complex() { } Complex(int real,int imag) { this->real_ = real; this->imag_ = imag; }