摘要: task3_1 #include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; // array<int, N> x {97, 98, 99, 100, 101 阅读全文
posted @ 2022-11-30 18:48 nibapi 阅读(26) 评论(0) 推荐(0) 编辑
摘要: pets.hpp #pragma once #include<bits/stdc++.h> using namespace std; class MachinePets{ public: MachinePets(){} MachinePets(const string s); ~MachinePet 阅读全文
posted @ 2022-11-24 22:09 nibapi 阅读(27) 评论(0) 推荐(0) 编辑
摘要: 实验任务五 vectorInt.hpp #pragma once #include<bits/stdc++.h> using namespace std; class vectorInt{ public: vectorInt(int n); vectorInt(int n,int v); vecto 阅读全文
posted @ 2022-11-03 19:00 nibapi 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 实验任务五 info.hpp #pragma once #include<bits/stdc++.h> using namespace std; class Info{ public: Info(string nick0,string contact0,string city0,int num0); 阅读全文
posted @ 2022-10-20 21:29 nibapi 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 实验任务四 main.cpp #include"Complex.hpp" #include<iostream> using std::cout; using std::endl; void test() { using namespace std; Complex c1(3, -4); const 阅读全文
posted @ 2022-10-13 21:07 nibapi 阅读(21) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using std::cout; using std::endl; using namespace std; class Point { public: Point(int x0 = 0, int y0 = 0); Point(const Point&p ); 阅读全文
posted @ 2022-09-29 19:47 nibapi 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> using namespace std; int main(){ cout<<"www.cnblogs.com/nitendoblog/"; } 阅读全文
posted @ 2022-09-27 18:59 nibapi 阅读(17) 评论(0) 推荐(0) 编辑