会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
FredGrit
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
75
76
77
78
79
80
81
82
83
···
120
下一页
2022年7月26日
Windows VC++
摘要: #pragma comment(lib, "rpcrt4.lib") #include <iostream> #include <chrono> #include <fstream> #include <iostream> #include <limits.h> #include <sstream>
阅读全文
posted @ 2022-07-26 22:54 FredGrit
阅读(42)
评论(0)
推荐(0)
2022年7月25日
Test Linux/Windows 11 performance when run unit32.max() times increment time cost
摘要: Ubuntu #include <chrono> #include <iostream> #include <limits.h> #include <uuid/uuid.h> using namespace std; void testTime(int x); int main(int args,
阅读全文
posted @ 2022-07-25 23:25 FredGrit
阅读(34)
评论(0)
推荐(0)
Linux C++ generate via uuid_generate_time,uuid_generate_time_safe,uuid_generate,uuid_generate_random
摘要: #include <chrono> #include <iostream> #include <uuid/uuid.h> using namespace std; void uuid_generatenewUUID(int x); void uuid_generate_randomnewUUID(i
阅读全文
posted @ 2022-07-25 22:47 FredGrit
阅读(304)
评论(0)
推荐(0)
2022年7月24日
Ubuntu C++ uuid_generate vs Windows UuidCreate
摘要: 1.Ubuntu,g++ #include <chrono> #include <iostream> #include <uuid/uuid.h> using namespace std; void testTime(int x); int main(int args,char**argv) { t
阅读全文
posted @ 2022-07-24 23:21 FredGrit
阅读(132)
评论(0)
推荐(0)
2022年7月6日
C++ quick sort
摘要: //Util.cpp void Util::arrayQuickSort8(int len) { int *arr=new int[len]; getArray(arr,len); cout<<"Before quick sort:"<<endl; printArray(arr,len); cout
阅读全文
posted @ 2022-07-06 23:15 FredGrit
阅读(45)
评论(0)
推荐(0)
2022年7月3日
C++ multiple threads pass arguments
摘要: #include <iostream> using namespace std; class bgClass { public: void print1() { cout << "This is print1()" << endl; } void print2() { cout << "This i
阅读全文
posted @ 2022-07-03 20:46 FredGrit
阅读(23)
评论(0)
推荐(0)
C++ concurrency
摘要:
阅读全文
posted @ 2022-07-03 14:40 FredGrit
阅读(17)
评论(0)
推荐(0)
C++ query data from mysql and limit page via key word 'limit startIndex,interval'
摘要: //Util.h #ifndef Util_H #define Util_H #include <chrono> #include <ctime> #include <fstream> #include <functional> #include <future> #include <iostrea
阅读全文
posted @ 2022-07-03 12:51 FredGrit
阅读(50)
评论(0)
推荐(0)
2022年7月2日
C++ mysql print all rows all columns data in Ubuntu
摘要: 1.Install mysql connector sudo apt-get install libmysqlcppconn-dev 2.Program //Util.h #ifndef Util_H #define Util_H #include <chrono> #include <ctime>
阅读全文
posted @ 2022-07-02 21:08 FredGrit
阅读(52)
评论(0)
推荐(0)
When root grant all privileges to new user in mysql and report error 'Root is not allowed to grant privileges on a MySQL database'
摘要: We should use another way to create user and grant privileges to the newly created user step by step; The key located at the first step when you creat
阅读全文
posted @ 2022-07-02 20:00 FredGrit
阅读(43)
评论(0)
推荐(0)
上一页
1
···
75
76
77
78
79
80
81
82
83
···
120
下一页
公告