摘要:
w实验任务三 task3_1.cpp #include<iostream> #include<fstream> #include<array> #define N 5 int main(){ using namespace std; array<int,N> x{97,98,99,100,101}; 阅读全文
摘要:
task4.cpp #include<iostream> #include"pets.h" void play(MachinePets &obj){ std::cout<<obj.get_nickname()<<" says "<<obj.talk()<<std::endl; } void test 阅读全文
摘要:
实验任务五 vectorInt.hpp #pragma #include<iostream> using std::cout; using std::endl; class vectorInt{ public: vectorInt(int n); vectorInt(int n,int value) 阅读全文