![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
项目
示光
这个作者很懒,什么都没留下…
展开
-
黑马程序员——STL员工分组
#include <iostream>#include <string>#include <vector>#include <map>#include <ctime>using namespace std;#define cehua 0#define meishu 1#define yanfa 2class Worker {public: string m_Name; int m_Salary;};void C原创 2022-03-26 10:39:26 · 182 阅读 · 0 评论 -
黑马程序员——评委打分
#include <iostream>#include <vector>#include <deque>#include <string>#include <algorithm>#include <ctime>using namespace std;class Person {public: Person(string name, int score) { this->M_name = name; t原创 2022-03-22 11:36:28 · 131 阅读 · 0 评论 -
黑马程序员——数组类模板
MyArray.h//自己的通用的数组类#pragma once#include<iostream>using namespace std;template<class T>class MyArray {private: T* pAddr; int m_Capacity; int m_Size;public: //有参构造 MyArray(int capacity) { //cout << "有参构造" << endl;原创 2022-03-18 15:36:59 · 403 阅读 · 0 评论 -
通讯录管理系统
代码#include <iostream>#include <string>using namespace std;#define Max 1000 //人数限制//联系人结构体struct Person { string m_name;//姓名 int m_sex;//性别 1男 2女 int m_age;//年龄 string m_phone;//电话 string m_addr;//地址};//通讯录结构体struct Addrbooks {.原创 2022-02-28 17:16:31 · 153 阅读 · 0 评论