- 博客(3)
- 收藏
- 关注
原创 c++list容器简单实现排序
#include<iostream>#include<string>#include<list>using namespace std;class Person{public: Person(string name, int age, int height) { m_Name = name; m_Age = age; m_Height = height; } string m_Name; int m_Age; int m_Height;
2021-02-06 21:42:54 521
原创 算法经典木块问题带详细注释
## **木块问题详细注释版**#include<iostream>#include<vector>#include<string>using namespace std;const int maxn = 30;int n;//有n个木块vector<int>pile[maxn];//每个pile[i]是一个vector//找木块a所在的pile(堆)和height(高),以引用的形式返回调用者void find_block(int a,
2021-02-02 22:28:19 262
原创 第一次发博客,c++简单实现通讯录系统
# **c++简单实现通讯录系统**#define _CRT_SECURE_NO_WARNINGS 1#include<iostream>#include<string>#define MAX 1000using namespace std;void printfMenu(){ cout << "****************************" << endl; cout << "***** 1、添加联系人 *.
2021-01-30 23:39:03 174
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人