12 2022 档案
摘要://model/util.h #pragma once #ifndef __util_h__ #define __util_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <i
阅读全文
摘要://model/util.h #pragma once #ifndef __util_h__ #define __util_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <i
阅读全文
摘要://model/book.h #pragma once #ifndef __book_h__ #define __book_h__ #include <iostream> using namespace std; struct book { uint64_t idx; uint64_t id; st
阅读全文
摘要://Model/mysqlhelper.h #ifndef __mysqlhelper_h__ #define __mysqlhelper_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #in
阅读全文
摘要://Model/mysqlhelper.h #ifndef __mysqlhelper_h__ #define __mysqlhelper_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #in
阅读全文
摘要://Model/Book.h #pragma once #ifndef __Book_H__ #define __Book_H__ #include <chrono> #include <ctime> #include <fstream> #include <iostream> #include <
阅读全文
摘要:https://www.eriksmistad.no/getting-started-with-google-test-on-ubuntu/
阅读全文
摘要://Book.h #pragma once #include <chrono> #include <ctime> #include <fstream> #include <iostream> #include <jsoncpp/json/json.h> #include <iomanip> #inc
阅读全文
摘要:#include <chrono> #include <ctime> #include <iomanip> #include <iostream> #include <sstream> #include <string> #include <unistd.h> using namespace std
阅读全文
摘要://Model/Util.h #pragma once #ifndef __Util_H__ #define __Util_H__ #include <fstream> #include <functional> #include <iostream> #include <string.h> #in
阅读全文
摘要:1. show create table tb2;show create table tb3; 2.desc tb2;desc tb3; 3.select count(Idx) from tb2; select count(Idx) from tb3; desc tb2;desc tb3;selec
阅读全文
摘要:SET GLOBAL connect_timeout = 6000;SHOW VARIABLES LIKE "%timeout";
阅读全文
摘要:Find and delete files greater than a given size from the Linux command line sudo -u root sh -c 'cd ./snapd/cache/ && find . -size +100M -exec rm -rf {
阅读全文
摘要://Util.h #pragma once #include <chrono> #include <ctime> #include <dirent.h> #include <fstream> #include <iostream> #include <thread> #include <unistd
阅读全文
摘要:You can also log into MySQL console and run the following command to set max_allowed_packet size for the duration of the session. set global net_buffe
阅读全文
摘要:1.Install libmysqlcppconn-dev sudo apt-get install libmysqlcppconn-dev 2. //MySQLHelper.h #include <iostream> #include <mysql_connection.h> #include <
阅读全文
摘要://Model/Book.cpp #include <iostream> #include <jsoncpp/json/json.h> using namespace std; class Book { public: int Idx; double Id; char *Abstract; char
阅读全文
摘要://MathHelper.h #ifndef _MathHelper_H #define _MathHelper_H #include <iostream> #include <random> #include <stdio.h> using namespace std; template <cla
阅读全文
摘要:#include <chrono> #include <ctime> #include <dirent.h> #include <fstream> #include <iostream> #include <thread> #include <unistd.h> #include <uuid/uui
阅读全文
摘要://Book.h #include <iostream> #include <jsoncpp/json/json.h> using namespace std; class Book { public: int Idx; unsigned long long Id; char *Name; char
阅读全文