摘要: 总结:还是不能熟练地完成编程,第二题实在没有做出来。 阅读全文
posted @ 2019-06-17 21:59 小眉毛 阅读(130) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std; class MachinePets{ public: MachinePets(const string s):nickname(s){}; string getNickname() {return nickname;}; virtual string talk()=0; private: ... 阅读全文
posted @ 2019-06-01 22:58 小眉毛 阅读(104) 评论(2) 推荐(0) 编辑
摘要: #include <iostream> using namespace std; #include "Car.h" #include "elsctricCar.h" int main(){ Car oldcar("Audi","a4",2016); cout <<" oldcar's info "< 阅读全文
posted @ 2019-05-19 14:40 小眉毛 阅读(324) 评论(2) 推荐(0) 编辑
摘要: part 2 #include <iostream> #include "graph.h" using namespace std; int main() { Graph graph1('*',5); graph1.draw(); system("pause"); system("cls"); Gr 阅读全文
posted @ 2019-04-21 14:05 小眉毛 阅读(124) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std; class Complex{ public: Complex(double real1=0,double imaginary1=0); Complex(Complex &x); void add(Complex y); void show(); double mod(); private: doubl... 阅读全文
posted @ 2019-03-31 14:48 小眉毛 阅读(192) 评论(3) 推荐(0) 编辑
摘要: https://www.cnblogs.com/qsxsc/p/10541028.html https://www.cnblogs.com/suifeng823/p/10588507.html https://www.cnblogs.com/fearless04/p/10590986.html 阅读全文
posted @ 2019-03-24 15:18 小眉毛 阅读(166) 评论(2) 推荐(0) 编辑
摘要: 2-28 while 2-28 DO WHILE 2-29 while 2-29 do while 2-29 for 2-32 while 2-32 do while 2-34 阅读全文
posted @ 2019-03-17 17:35 小眉毛 阅读(202) 评论(1) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2019-03-17 16:22 小眉毛 阅读(125) 评论(0) 推荐(0) 编辑
摘要: do while 阅读全文
posted @ 2019-03-17 14:46 小眉毛 阅读(95) 评论(0) 推荐(0) 编辑
摘要: do while for 阅读全文
posted @ 2019-03-17 14:41 小眉毛 阅读(96) 评论(0) 推荐(0) 编辑