摘要:
#include <iostream> #include <fstream> #include <array> #define N 5 int main() { using namespace std; array<int, N> x {97, 98, 99, 100, 101}; ofstream 阅读全文
摘要:
#pragma once #include<iostream> using namespace std; class MachinePets{ public: MachinePets(const string s):nickname{s} {} string get_nickname() const 阅读全文
摘要:
1 #pragma once 2 #include<iostream> 3 using namespace std; 4 class vectorInt{ 5 public: 6 vectorInt(int n):size(n) { 7 cout << "construct 1 called"<<e 阅读全文
摘要:
1 #include"Info.hpp" 2 #include<iostream> 3 #include<vector> 4 #include<iomanip> 5 using namespace std; 6 const int capacity = 100; 7 int main(){ 8 ve 阅读全文
摘要:
实验结论 实验任务4 1 #pragma once 2 #include<iostream> 3 #include<cmath> 4 using namespace std; 5 class Complex{ 6 public: 7 Complex(double r=0.0,double i=0.0 阅读全文
摘要:
1 #include <iostream> 2 using std::cout; 3 using std::endl; 4 5 class Point { 6 public: 7 Point(int x0 = 0, int y0 = 0); 8 Point(const Point& p); 9 ~P 阅读全文
摘要:
https://www.cnblogs.com/xrzjjy/ 阅读全文