11 2022 档案
摘要://Book.cpp #include <iostream> using namespace std; class Book { public: int Idx; char *ISBN; char *Name; char *Abstract; char *Content; char *Topic;
阅读全文
摘要://Util.h #ifndef _Util_H_ #define _Util_H_ #include <iostream> #include <random> using namespace std; template <class T> class Util { public: random_d
阅读全文
摘要:#include <dirent.h> #include <stdio.h> #include <string.h> void listFilesRecursively(char *basePath) { char path[1000]; struct dirent *dp; DIR *dir =
阅读全文
摘要:1.Install sudo apt-get install rapidjson-dev 2.Code #include <algorithm> #include <chrono> #include <ctime> #include <fstream> #include <iostream> #in
阅读全文
摘要:1.Install sudo apt-get install libjsoncpp-dev 2.Add using header. #include <jsoncpp/json/json.h> 3.Use #include <algorithm> #include <chrono> #include
阅读全文
摘要:#include <chrono> #include <ctime> #include <fstream> #include <iostream> #include <random> #include <sstream> #include <thread> #include <unistd.h> #
阅读全文