c++运算符重载实现复数的四则运算 #includeusingstd::cout;usingstd::cin;usingstd::endl;classcomplex{public:friendcomplexoperator-(complex&a,complex&b){complexc;c.s=a.s-b.s;c.x=a.x-b.x;r