上一页 1 ··· 91 92 93 94 95 96 97 98 99 ··· 139 下一页
摘要: //Book.h #include <iostream> #include <jsoncpp/json/json.h> using namespace std; class Book { public: int Idx; unsigned long long Id; char *Name; char 阅读全文
posted @ 2022-12-02 11:45 FredGrit 阅读(45) 评论(0) 推荐(0)
摘要: //Book.cpp #include <iostream> using namespace std; class Book { public: int Idx; char *ISBN; char *Name; char *Abstract; char *Content; char *Topic; 阅读全文
posted @ 2022-11-28 15:02 FredGrit 阅读(43) 评论(0) 推荐(0)
摘要: //Util.h #ifndef _Util_H_ #define _Util_H_ #include <iostream> #include <random> using namespace std; template <class T> class Util { public: random_d 阅读全文
posted @ 2022-11-27 20:23 FredGrit 阅读(51) 评论(0) 推荐(0)
摘要: #include <dirent.h> #include <stdio.h> #include <string.h> void listFilesRecursively(char *basePath) { char path[1000]; struct dirent *dp; DIR *dir = 阅读全文
posted @ 2022-11-26 20:04 FredGrit 阅读(56) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-11-20 19:55 FredGrit 阅读(105) 评论(0) 推荐(0)
摘要: 1.Install sudo apt-get install rapidjson-dev 2.Code #include <algorithm> #include <chrono> #include <ctime> #include <fstream> #include <iostream> #in 阅读全文
posted @ 2022-11-13 19:03 FredGrit 阅读(600) 评论(0) 推荐(0)
摘要: 1.Install sudo apt-get install libjsoncpp-dev 2.Add using header. #include <jsoncpp/json/json.h> 3.Use #include <algorithm> #include <chrono> #include 阅读全文
posted @ 2022-11-13 17:59 FredGrit 阅读(238) 评论(0) 推荐(0)
摘要: #include <chrono> #include <ctime> #include <fstream> #include <iostream> #include <random> #include <sstream> #include <thread> #include <unistd.h> # 阅读全文
posted @ 2022-11-06 18:41 FredGrit 阅读(79) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-10-22 21:26 FredGrit 阅读(57) 评论(0) 推荐(0)
摘要: #pragma once #pragma comment(lib,"rpcrt4.lib") #include <Windows.h> #include <rpcdce.h> #include <iostream> #include <thread> #include <unordered_map> 阅读全文
posted @ 2022-10-17 11:18 FredGrit 阅读(57) 评论(0) 推荐(0)
上一页 1 ··· 91 92 93 94 95 96 97 98 99 ··· 139 下一页