摘要:
任务2 1 #pragma once 2 #include <iostream> 3 #include<string> 4 #include <istream> 5 #include <sstream> 6 using std::endl; 7 using std::cout; 8 using st 阅读全文
摘要:
任务三 Battery.hpp #pragma once #include<iostream> using namespace std; class Battery { public: Battery(float n=70) :capacity{ n } {} float get_capacity( 阅读全文
摘要:
任务四 Vector_int.hpp #pragma once #include<iostream> #include<cassert> class Vector_int { public: Vector_int(int n); Vector_int(int n, int m); Vector_in 阅读全文
摘要:
恢复内容开始 任务五 lnfo.hpp #pragma once#include<iostream>#include<string>using namespace std;class lnfo { public: void in(string a,string b,string c,int d){ 阅读全文
摘要:
任务3 Complex.hpp #ifndef COMPLEX_H #define COMPLEX_H #include<iostream> #include<cmath> class Complex { public: Complex(double i = 0, double j = 0) :a{ 阅读全文