
第四章
gan920hp
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
第一题
#include using namespace std; class Complex {public: Complex(){real=0;imag=0;} Complex(double r,double i){real=r;imag=i;} double get_real(); double get_imag(); void display();原创 2015-04-27 22:39:48 · 298 阅读 · 0 评论 -
第二题
#include using namespace std; class Complex {public: Complex(){real=0;imag=0;} Complex(double r,double i){real=r;imag=i;} Complex operator+(Complex &c2); Complex operator-(Complex原创 2015-04-27 22:40:48 · 457 阅读 · 0 评论 -
第5题
#include using namespace std; class Matrix {public: Matrix(); friend Matrix operator+(Matrix &,Matrix &); friend ostream& operator friend istream& operator>>(istream&,Matrix&);原创 2015-05-10 20:31:38 · 430 阅读 · 0 评论 -
第6题
#include using namespace std; class Complex {public: Complex(){real=0;imag=0;} Complex(double r){real=r;imag=0;} Complex(double r,double i){real=r;imag=i;} operator double(){retur原创 2015-05-10 20:32:31 · 450 阅读 · 0 评论 -
第三题
原创 2015-05-10 20:19:49 · 403 阅读 · 0 评论 -
第4题
原创 2015-05-10 20:23:28 · 500 阅读 · 0 评论