- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 哈希函数的简单应用
#include <assert.h> #include <string.h> #include <string> #include <stdio.h> using namespace std; map<std::string, URLInfo> urllib; /** * 初始化:使用初始化指令让系统重新完成初始化,内部URL记录...
2019-05-17 21:04:01
535
转载 我常用的功能与文件读写
读文件: loadNumbers(const char* fileName) { if (fileName[0] == 0) return E002; ifstream infile(fileName); if (!infile.is_open()) { return E003; } Number tem;string s; while (getline(infile, s...
2019-05-15 22:29:41
245
原创 STL之map常用功能
#include <string.h> #include <map> #include <stdio.h> #include <fstream> #include <algorithm> #include <vector> using namespace std; map<long,Number> nu...
2019-05-15 14:43:03
178
原创 c++常用数组功能函数
vector查找 排序 读文件 #include <vector> #include <fstream> #include <algorithm> #include <functional> #include <iostream> using namespace std; vector<Number> num; struct...
2019-05-14 20:02:14
2468
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人