会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
75
76
77
78
79
80
81
82
83
···
123
下一页
2022年11月27日
Cpp generic class and functions,declare in header file and implementation in cpp file seperately
摘要: //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
阅读(24)
评论(0)
推荐(0)
2022年11月26日
c read directories and files recursively based on a given directory
摘要: #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
阅读(29)
评论(0)
推荐(0)
2022年11月20日
SLA
摘要:
阅读全文
posted @ 2022-11-20 19:55 FredGrit
阅读(101)
评论(0)
推荐(0)
2022年11月13日
ubuntu install rapidjson
摘要: 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
阅读(542)
评论(0)
推荐(0)
ubuntu install jsoncpp and demos,StyledWriter,FastWriter,Reader,parse
摘要: 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
阅读(186)
评论(0)
推荐(0)
2022年11月6日
C++ get random via random_device, mt19937_64,uniform_int_distribution, quick sort
摘要: #include <chrono> #include <ctime> #include <fstream> #include <iostream> #include <random> #include <sstream> #include <thread> #include <unistd.h> #
阅读全文
posted @ 2022-11-06 18:41 FredGrit
阅读(64)
评论(0)
推荐(0)
2022年10月22日
In Ubuntu 20.04 capture screen/screenshot via Fn+Prtsc short cut combination.
摘要:
阅读全文
posted @ 2022-10-22 21:26 FredGrit
阅读(31)
评论(0)
推荐(0)
2022年10月17日
C++ hash in #include <unordered_map>
摘要: #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
阅读(38)
评论(0)
推荐(0)
2022年10月14日
C++ thread array and join respectively
摘要: #pragma comment(lib,"rpcrt4.lib") #include <Windows.h> #include <rpcdce.h> #include <iostream> #include <string> #include <thread> #include <vector> u
阅读全文
posted @ 2022-10-14 12:30 FredGrit
阅读(41)
评论(0)
推荐(0)
C++ generate and quick sort in template
摘要: #pragma once #include <iostream> #include <random> #include <algorithm> using namespace std; random_device rd; mt19937_64 mt(rd()); template<typename
阅读全文
posted @ 2022-10-14 11:01 FredGrit
阅读(27)
评论(0)
推荐(0)
上一页
1
···
75
76
77
78
79
80
81
82
83
···
123
下一页
公告