2019年6月18日

摘要: part 2 *以追加模式打开文件 // 合并两个文件内容到一个新文件中。 // 文件名均从键盘输入 #include <iostream> #include <fstream> #include <string> #include <cstdlib> using namespace std; in 阅读全文
posted @ 2019-06-18 12:28 一朵娇花 阅读(89) 评论(1) 推荐(0) 编辑

2019年6月3日

摘要: part 2 结果: 总结: 1、如果用a.xxxxx,会出现[Error] request for member 'getNickname' in 'a', which is of pointer type 'PetCats*' (maybe you meant to use '->' ?); 2 阅读全文
posted @ 2019-06-03 20:34 一朵娇花 阅读(99) 评论(1) 推荐(0) 编辑

2019年5月21日

摘要: 1、 #ifndef CAR_H #define CAR_H #include <string> using std::string; class Car{ public: Car(string newma,string newmo,int newy,int newo=0); friend std: 阅读全文
posted @ 2019-05-21 22:34 一朵娇花 阅读(83) 评论(3) 推荐(0) 编辑

2019年4月30日

摘要: 第一题 阅读全文
posted @ 2019-04-30 14:57 一朵娇花 阅读(105) 评论(0) 推荐(0) 编辑

2019年4月21日

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-04-21 15:09 一朵娇花 阅读(16) 评论(0) 推荐(0) 编辑

2019年3月30日

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-03-30 12:53 一朵娇花 阅读(19) 评论(1) 推荐(0) 编辑

2019年3月25日

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-03-25 18:17 一朵娇花 阅读(20) 评论(2) 推荐(0) 编辑

2019年3月16日

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2019-03-16 12:39 一朵娇花 阅读(32) 评论(1) 推荐(1) 编辑