摘要:
总结:还是不能熟练地完成编程,第二题实在没有做出来。 阅读全文
摘要:
#include #include using namespace std; class MachinePets{ public: MachinePets(const string s):nickname(s){}; string getNickname() {return nickname;}; virtual string talk()=0; private: ... 阅读全文
摘要:
#include <iostream> using namespace std; #include "Car.h" #include "elsctricCar.h" int main(){ Car oldcar("Audi","a4",2016); cout <<" oldcar's info "< 阅读全文
摘要:
part 2 #include <iostream> #include "graph.h" using namespace std; int main() { Graph graph1('*',5); graph1.draw(); system("pause"); system("cls"); Gr 阅读全文
摘要:
#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... 阅读全文
摘要:
https://www.cnblogs.com/qsxsc/p/10541028.html https://www.cnblogs.com/suifeng823/p/10588507.html https://www.cnblogs.com/fearless04/p/10590986.html 阅读全文