摘要: 1 #include <iostream> 2 #include <cstring> 3 4 using namespace std; 5 6 class Person 7 { 8 private: 9 char Name[10]; 10 char Sex; 11 int Age; 12 publi 阅读全文
posted @ 2020-04-21 21:38 Conan-jine 阅读(679) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstring> 3 4 using namespace std; 5 6 class Point 7 { 8 private: 9 int x,y; 10 public: 11 Point(int,int); 12 void Se 阅读全文
posted @ 2020-04-21 20:24 Conan-jine 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstring> 3 4 using namespace std; 5 6 class Person 7 { 8 private: 9 char Name[10]; 10 int Age; 11 public: 12 Person( 阅读全文
posted @ 2020-04-21 18:14 Conan-jine 阅读(441) 评论(0) 推荐(1) 编辑
摘要: 1 #include <iostream> 2 #include <cstring> 3 4 using namespace std; 5 6 class Person 7 { 8 protected: 9 char Name[10]; 10 char Sex; 11 int Age; 12 pub 阅读全文
posted @ 2020-04-21 15:42 Conan-jine 阅读(508) 评论(0) 推荐(0) 编辑