上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 76 下一页
摘要: #include <ctime> #include <iostream> #include <random> using namespace std; static random_device rd; static mt19937 mt{ rd() }; template<typename T> v 阅读全文
posted @ 2022-09-07 09:02 FredGrit 阅读(9) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication2.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <ctime> #include <iostream> 阅读全文
posted @ 2022-09-04 22:01 FredGrit 阅读(18) 评论(0) 推荐(0) 编辑
摘要: #include <ctime> #include <iostream> #include <random> using namespace std; void uInt32Array(int len); int main(int args, char** argv) { uInt32Array(a 阅读全文
posted @ 2022-09-04 21:29 FredGrit 阅读(102) 评论(0) 推荐(0) 编辑
摘要: // ConsoleApplication3.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include <iostream> #include <random> 阅读全文
posted @ 2022-08-10 00:09 FredGrit 阅读(22) 评论(0) 推荐(0) 编辑
摘要: //main.c#include <stdio.h> void getPutChar(); main() { getPutChar(); } void getPutChar() { char c; while((int)(c=getchar())!=27) { putchar(c); } } Com 阅读全文
posted @ 2022-08-07 16:50 FredGrit 阅读(26) 评论(0) 推荐(0) 编辑
摘要: In fact,the vim is in editing state.3 ways to solve the issue. If one doesn't work,one by one to try until succeed 1.Press Esc then Shift+zz,it will r 阅读全文
posted @ 2022-08-06 21:42 FredGrit 阅读(218) 评论(0) 推荐(0) 编辑
摘要: grep -i -n -r 'keyword' specifilefileHere is the definition:grep is function name to search a pattern in files-i means ignore case-n means output line 阅读全文
posted @ 2022-08-06 21:17 FredGrit 阅读(23) 评论(0) 推荐(0) 编辑
摘要: VC++ #pragma comment(lib,"rpcrt4.lib") #include <chrono> #include <iostream> #include <Windows.h> using namespace std; void testTime(int x); int main( 阅读全文
posted @ 2022-07-27 18:01 FredGrit 阅读(26) 评论(0) 推荐(0) 编辑
摘要: #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 阅读(31) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(18) 评论(0) 推荐(0) 编辑
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 76 下一页