06 2019 档案

摘要:1. #include<iostream> #include<fstream> #include<string> #include<cstdlib> using namespace std; int main(){ string filename; cout << "输入打开的文件: "; cin 阅读全文
posted @ 2019-06-12 21:36 Joey_Yan 阅读(103) 评论(0) 推荐(0)
摘要:第一题和第二题的源代码老师都写好了,所以就不放了。 直接第三题,代码如下: #include<iostream>#include<string>using namespace std; //抽象类MachinePets class MachinePets{ public: MachinePets() 阅读全文
posted @ 2019-06-02 13:23 Joey_Yan 阅读(86) 评论(0) 推荐(0)