上一页 1 ··· 3 4 5 6 7
摘要: 1 #include <iostream> 2 #include <string> 3 4 using namespace std; 5 6 class Dog 7 { 8 private: 9 string name; 10 int age; 11 char sex; 12 double weig 阅读全文
posted @ 2020-03-28 17:00 Conan-jine 阅读(334) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 3 using namespace std; 4 5 class Trapezium 6 { 7 private: 8 int x1,y1,x2,y2,x3,y3,x4,y4; 9 public: 10 void initial(){x1=0,x2=0 阅读全文
posted @ 2020-03-28 16:59 Conan-jine 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 3 using namespace std; 4 5 class Trapezium 6 { 7 private: 8 int x1,y1,x2,y2,x3,y3,x4,y4; 9 public: 10 void initial(){x1=0,x2=0 阅读全文
posted @ 2020-03-28 16:58 Conan-jine 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 #include <cstdio> 3 4 using namespace std; 5 6 class MyTime 7 { 8 private: 9 int hour; 10 int minute; 11 int second; 12 public 阅读全文
posted @ 2020-03-28 16:56 Conan-jine 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 1 #include <iostream> 2 3 using namespace std; 4 5 class Weekday 6 { 7 private: 8 int num; 9 public: 10 void SetDay(){cin>>num;return;} 11 void IncDay 阅读全文
posted @ 2020-03-28 16:51 Conan-jine 阅读(223) 评论(0) 推荐(0) 编辑
摘要: 问题情况如下,因个人水平有限,不知道具体原因是啥,当引用头文件<iostream>时会出现如下问题,经排查,并不是头文件本身的问题,有可能是Dev哪一个文件被改动了,或者设置出了问题(前者概率更大)还有一个可能就是Windows和Dev存在小小的不合(仅代表个人观点),不多说方法如下解决方法: 去正 阅读全文
posted @ 2020-03-16 09:16 Conan-jine 阅读(1340) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7