11 2022 档案

摘要:#pragma once #include<iostream> #include<string> using namespace std; class MachinePets { public: MachinePets(const string s):nickname(s){} string get 阅读全文
posted @ 2022-11-27 15:07 chenzhongbao 阅读(25) 评论(0) 推荐(0)
摘要:#include<iostream> using namespace std; class vectorint{ public: vectorint(int l=0){ size=l; cout<<"constructor 1 called\n"<<endl; p=new int[size]; } 阅读全文
posted @ 2022-11-05 19:35 chenzhongbao 阅读(22) 评论(0) 推荐(0)