会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
76
77
78
79
80
81
82
83
84
···
123
下一页
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
阅读(32)
评论(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
阅读(39)
评论(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
阅读(42)
评论(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
阅读(28)
评论(0)
推荐(0)
2022年10月13日
C++ lambda expression with parameters
摘要: #pragma once #pragma comment(lib,"rpcrt4.lib") #include <Windows.h> #include <rpcdce.h> #include <float.h> #include <iostream> #include <limits> #incl
阅读全文
posted @ 2022-10-13 19:37 FredGrit
阅读(46)
评论(0)
推荐(0)
C++ split string via delimeter
摘要: #pragma once #pragma comment(lib,"rpcrt4.lib") #include <Windows.h> #include <rpcdce.h> #include <iostream> #include <string> #include <vector> using
阅读全文
posted @ 2022-10-13 11:34 FredGrit
阅读(31)
评论(0)
推荐(0)
C++ get random number via uniform_int_distribution in template
摘要: #pragma once #include <iostream> #include <random> using namespace std; static random_device rd; static mt19937_64 mt(rd()); template<typename T> T ge
阅读全文
posted @ 2022-10-13 11:05 FredGrit
阅读(34)
评论(0)
推荐(0)
2022年10月7日
Windows c++ generate uuid via rpcrt4.lib and free RPC_CSTR via RpcStringFreeA
摘要: // ConsoleApplication3.cpp : This file contains the 'main' function. Program execution begins and ends there. // #pragma comment(lib, "rpcrt4.lib") #i
阅读全文
posted @ 2022-10-07 21:59 FredGrit
阅读(112)
评论(0)
推荐(0)
C++ write file hugely
摘要: // ConsoleApplication1.cpp : This file contains the 'main' function. Program execution begins and ends there. // #pragma once #pragma comment(lib,"rpc
阅读全文
posted @ 2022-10-07 20:29 FredGrit
阅读(38)
评论(0)
推荐(0)
上一页
1
···
76
77
78
79
80
81
82
83
84
···
123
下一页
公告