摘要:
冒泡排序的数组和向量实现 向量唯一化实现 向量-归并排序 阅读全文
摘要:
#include "pch.h" #include #include #include #include #include #include #include using namespace std; inline void eatline() { while (cin.get() != '\n') continue; } struct planet { char name... 阅读全文
摘要:
#include "pch.h" #include #include #include #include using namespace std; const int NUM = 26; const string wordlist[NUM] = { "apiary","beetle","cereal", "danger","ensign","florid","garage","heal... 阅读全文
摘要:
//头文件 #pragma once #ifndef SALES_H_ #define SALES_H_ #include <stdexcept> #include <string> class Sales { public: enum { MONTHS = 12 }; class bad_inde 阅读全文
摘要:
12-1 12-2 12-3 #pragma once #ifndef STOCK_H_ #define STOCK_H_ #include <string> using namespace std; class Stock { private: char* company; int shares; 阅读全文
摘要:
11-1 //headfile #pragma once #ifndef VECTOR_H_ #define VECTOR_H_ #include <iostream> namespace VECTOR { class Vector { public: enum Mode { RECT, POL } 阅读全文
摘要:
#pragma once #ifndef WORKRMI_H_ #define WORKRMI_H_ #include using namespace std; class Worker { private: string fullname; long id; protected: virtual void Data() const; virtual void ... 阅读全文
摘要:
头文件 类方法实现文件 主函数调用类 IDE:VS2017 阅读全文