定义复数类,实现复数的相加相减,用c++编程,急,请大伙帮帮忙

问题描述:

定义复数类,实现复数的相加相减,用c++编程,急,请大伙帮帮忙

#include #include using namespace std;class Complex {private: double real,imag;public: Complex() { } Complex(double rea,double ima) {real=rea;imag=ima; } Complex operator++(int) {real++;imag++...