摘要: 1 #include <iostream> 2 3 using namespace std; 4 5 class Matrix 6 { 7 private: 8 int a,b; 9 int arr[100][100]; 10 public: 11 Matrix() 12 { 13 for(int 阅读全文
posted @ 2020-04-29 20:53 Conan-jine 阅读(475) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 3 using namespace std; 4 5 class Complex 6 { 7 private: 8 double real; 9 double image; 10 public: 11 Complex(){real=0;image=0; 阅读全文
posted @ 2020-04-29 10:30 Conan-jine 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <string> 3 4 using namespace std; 5 6 class Pet 7 { 8 private: 9 string name; 10 int age; 11 string color; 12 public: 阅读全文
posted @ 2020-04-29 00:14 Conan-jine 阅读(618) 评论(0) 推荐(0) 编辑