上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 94 下一页
摘要: //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< 阅读全文
posted @ 2023-02-18 15:27 FredGrit 阅读(14) 评论(0) 推荐(0) 编辑
摘要: void util::split_string_demo() { std::string str=get_uuid(); std::string delimiter="-"; std::vector<std::string> vec; split_string(str,delimiter,vec); 阅读全文
posted @ 2023-02-12 15:02 FredGrit 阅读(28) 评论(0) 推荐(0) 编辑
摘要: #include <chrono> #include <functional> #include <iomanip> #include <iostream> #include <sstream> #include <thread> #include <unistd.h> std::string ge 阅读全文
posted @ 2023-02-02 17:54 FredGrit 阅读(11) 评论(0) 推荐(0) 编辑
摘要: //model/book.cpp void book::operator=(const book &bk){ std::cout<<std::endl<<std::endl<<std::endl<<"Called operator assignment overloaded!" <<std::end 阅读全文
posted @ 2023-01-22 19:30 FredGrit 阅读(23) 评论(0) 推荐(0) 编辑
摘要: //book.h #pragma once #ifndef __book_h__ #define __book_h__ #include <functional> #include <iostream> class book { public: book(const std::uint64_t& i 阅读全文
posted @ 2023-01-22 18:56 FredGrit 阅读(49) 评论(0) 推荐(0) 编辑
摘要: //model/book.h #pragma once #include <iostream> using namespace std; class book { public: book() = default; ~book() = default; book(const book &bk) = 阅读全文
posted @ 2023-01-12 00:07 FredGrit 阅读(49) 评论(0) 推荐(0) 编辑
摘要: //model/util.h #pragma once #ifndef __util_h__ #define __util_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <i 阅读全文
posted @ 2023-01-02 21:49 FredGrit 阅读(22) 评论(0) 推荐(0) 编辑
摘要: //model/util.cpp void util::time_demo() { static uint64_t num=0; chrono::time_point<chrono::high_resolution_clock> now = chrono::high_resolution_clock 阅读全文
posted @ 2023-01-01 17:06 FredGrit 阅读(15) 评论(0) 推荐(0) 编辑
摘要: //model/util.h #pragma once #ifndef __util_h__ #define __util_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <i 阅读全文
posted @ 2023-01-01 00:02 FredGrit 阅读(676) 评论(0) 推荐(0) 编辑
摘要: //model/util.h #pragma once #ifndef __util_h__ #define __util_h__ #include <chrono> #include <ctime> #include <fstream> #include <iomanip> #include <i 阅读全文
posted @ 2022-12-31 21:27 FredGrit 阅读(39) 评论(0) 推荐(0) 编辑
上一页 1 ··· 43 44 45 46 47 48 49 50 51 ··· 94 下一页