摘要:
#include<fstream> #include<iostream> #include<bits/stdc++.h> using namespace std; void output(ofstream &out, string To = "con"){ out.open(To); if(!out 阅读全文
摘要:
pet.hpp #pragma once #include<iostream> using namespace std; class MachinePets { public: MachinePets(const string s):name(s){} virtual string talk()=0 阅读全文
摘要:
1 #pragma once 2 #include<iostream> 3 using namespace std; 4 class vectorInt 5 { 6 public: 7 vectorInt(int n); 8 vectorInt(int n, int num); 9 vectorIn 阅读全文
摘要:
实验五 hpp 1 #pragma once 2 3 #include<iostream> 4 #include <iomanip> 5 using namespace std; 6 class info 7 { 8 9 public: 10 info(string nickname =" ", s 阅读全文
摘要:
实验任务四 Complex.hpp 源代码 1 #pragma once 2 3 4 #include<iostream> 5 #include<cmath> 6 using namespace std; 7 8 class Complex 9 { 10 public: 11 Complex(); 阅读全文
摘要:
实验任务二 1 #include<iostream> 2 using namespace std; 3 class Point 4 { 5 public: 6 Point(int x0 = 0, int y0 = 0); 7 Point(const Point& p); 8 ~Point() = d 阅读全文
摘要:
离小离 - 博客园 (cnblogs.com) 阅读全文