文件名称:fushu
介绍说明--下载内容来自于网络,使用问题请自行百度
复数运算#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
}
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
}
(系统自动生成,下载前可以参看下载内容)
下载文件列表
复数运算.txt
www.dssz.com.txt
www.dssz.com.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.