摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 using namespace std; 8 struct student{ 9 int id; 10 long long stu_num; 11 string name; 12 ... 阅读全文
posted @ 2018-06-20 22:55 YYWZS 阅读(126) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 using namespace std; 3 class vehicle{ 4 public: 5 vehicle(int m,int w):maxspeed(m),weight(w){ 6 } 7 void run(){ 8 cout 40 using namespac... 阅读全文
posted @ 2018-06-06 16:34 YYWZS 阅读(124) 评论(0) 推荐(0) 编辑
摘要: vector 6-17 6-18 matrix 阅读全文
posted @ 2018-05-23 15:53 YYWZS 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 内容二 阅读全文
posted @ 2018-04-22 14:56 YYWZS 阅读(143) 评论(1) 推荐(0) 编辑
摘要: 1 #include<iostream> 2 using namespace std; 3 class rect{ 4 public: 5 rect(float L,float W){ 6 length=L; 7 wide=W; 8 } 9 area_print(){ 10 cout<<length 阅读全文
posted @ 2018-04-08 12:04 YYWZS 阅读(137) 评论(3) 推荐(0) 编辑
摘要: ##2-28 ```c #include<iostream> using namespace std;int main(){ char a; while (true) { cout<< "Menu:A(dd) D(elete) S(ort) Q(uit)"<<endl<<"Select one:"; 阅读全文
posted @ 2018-03-24 11:58 YYWZS 阅读(120) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using namespace std;int main(){ int a; cin>>a; switch(a) { case(1): case(2): case(3): case(4): case(5): cout<<"workday.Let's work h 阅读全文
posted @ 2018-03-15 21:36 YYWZS 阅读(196) 评论(0) 推荐(1) 编辑