摘要: #include <iostream>using namespace std;class complex{ public: complex (double r= 0, double i = 0) :re (r) , im(i) { } complex operator += (const compl 阅读全文
posted @ 2018-12-09 19:57 Maggieisxin 阅读(211) 评论(0) 推荐(0)
摘要: //c++学习//标准库非常重要//要规范自己的代码complex c1(2,1);complex c2;complex* pc = new complex(0,1);string s1("Hello");string s2("world");string* ps #include<iostream 阅读全文
posted @ 2018-12-09 19:51 Maggieisxin 阅读(1234) 评论(0) 推荐(0)