您现在的位置是:源码地带 > 资源下载

复数运算#include<iostream.h> class Complex { public: Complex( double r =0, double i =0 ) C

资 源 简 介

复数运算#include<iostream.h> class Complex { public: Complex( double r =0, double i =0 ) Complex(int a) { Real = a Image = 0 } void print() const friend Complex operator+ ( const Complex & c1, const Complex & c2 ) friend Complex operator- ( const Complex & c1, const Complex & c2 ) friend Complex operator- ( const Complex & c ) private: double Real, Image }

相 关 资 源