02 2023 档案
摘要://.model/util.h template<typename T> T get_random_num(T min,T max) { std::random_device rd; std::mt19937_64 mt(rd()); std::uniform_int_distribution<T>
阅读全文
摘要://model.util.h #include <iostream> #include <random> template<typename T> T get_random_num(T min,T max) { std::random_device rd; std::mt19937_64 mt(rd
阅读全文
摘要:#include <iostream> #include <random> template<typename T> T gen_random(T min,T max) { std::random_device rd; std::mt19937_64 mt(rd()); std::uniform_i
阅读全文
摘要:ZV3JH-4LXE1-M88MZ-HQXXX-XG0FD AG5RU-6AXDL-H81FZ-KQYN9-M32E0 GA74A-DREEK-085VP-VENNX-QZRFD MC60H-DWHD5-H80U9-6V85M-8280D 4A4RR-813DK-M81A9-4U35H-06KND
阅读全文
摘要://model/*.cppvoid util::invoke_pass_func(const int& x,const int& y) { std::cout<<"x="<<x<<",y="<<y<<std::endl; int sum=pass_func(x,y,&add); std::cout<
阅读全文
摘要:void util::split_string_demo() { std::string str=get_uuid(); std::string delimiter="-"; std::vector<std::string> vec; split_string(str,delimiter,vec);
阅读全文
摘要:#include <chrono> #include <functional> #include <iomanip> #include <iostream> #include <sstream> #include <thread> #include <unistd.h> std::string ge
阅读全文