摘要:
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 ... 阅读全文
摘要:
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... 阅读全文
摘要:
vector 6-17 6-18 matrix 阅读全文
摘要:
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 阅读全文
摘要:
##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:"; 阅读全文
摘要:
#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 阅读全文