虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

您现在的位置是:虫虫下载站 > 资源下载 > 书籍源码 > 复数运算#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 ) C

  • 资源大小:2 K
  • 上传时间: 2016-06-30
  • 上传用户:gjq2000
  • 资源积分:2 下载积分
  • 标      签: Complex double iostream include

资 源 简 介

复数运算#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 }

相 关 资 源

您 可 能 感 兴 趣 的