每日C++(25年):10月20日 – 10月26日
10月20日:system_error:std::error_category10月21日:system_error:std::generic_category10月22日:system_error:std::system_category10月23日:system_error:std::error_condition10月...
每日C++(25年):12月22日 – 12月28日
12月22日:mutex:std::lock_guard12月23日:mutex:std::scoped_lock12月24日:mutex:std::unique_lock12月25日:shared_mutex:std::shared_lock::lock12月26日:shared_mutex:std::shared_l...
Ubuntu22 & C++:在CodeServer中连接与使用MySQL
环境:打开终端,安装MySQL服务,再安装相关的开发包,如何安装MySQL服务器此处不再赘述,使用:dpkg -l | grep libmysqlcppconn dpkg -l | grep libmysqlclient-dev查看是否已经安装了相关的开...
每日C++(26年):3月2日 – 3月8日
3月2日:atomic:std::atomic_flag_clear和std::atomic_flag_clear_explicit3月3日:atomic:std::atomic_flag_test和std::atomic_flag_test_explicit3月4日:atomic:std::atomic_flag_wait和s...
Windows:配置C++17/20
安装软件点击 MSYS2 (百度网盘)下载,或者是去到 MSYS2官网下载,并完成安装。配置环境下载环境:在安装路径下找到:msys2.exe,并打开。接着粘贴:pacman -Syu --disable-download-timeout提...
每日C++(25年):8月18日 – 8月24日
8月18日:cmath:std::clamp8月19日:cmath:std::asinh8月20日:cmath:std::pow8月21日:cmath:std::scalb8月22日:cmath:std::nan8月23日:cmath:std::div8月24日:cmath:std::exp
每日C++(25年):10月27日 – 11月2日
10月27日:thread:std::thread::joinable10月28日:thread:std::thread::get_id10月29日:thread:std::thread::native_handle10月30日:thread:std::thread::hardware_concurrency10月31日...
VS2022:编译项目时卡住/内存一直上涨问题解决方案
问题描述:在VS2022中,编译项目会出现窗口卡死,打开文件管理器时,发现内存在持续增加。解决方案:方案1:原因可能是内存不足,在内存足够的情况下,单独编译某个文件的内容,看是否能过,如...
每日C++(25年/26年):12月29日 – 1月4日
12月29日:shared_mutex:std::shared_lock::unlock12月30日:shared_mutex:std::shared_lock::swap12月31日:shared_mutex:std::shared_lock::release1月1日:mutex:std::try_lock1月2日:mu...
WindowsAPI-控件:ToolBar
使用WindowsAPI,创建ToolBar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_TOOLBAR 201 LRESULT CALLBACK WindowProc(HWND...
每日C++(25年):12月15日 – 12月21日
12月15日:mutex:std::shared_timed_mutex::try_lock_until12月16日:mutex:std::shared_timed_mutex::unlock12月17日:mutex:std::shared_timed_mutex::lock_shared12月18日:mutex:std::s...
WindowsAPI-控件:ListView(SysListView32)
使用WindowsAPI,创建一个ListView控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_LISTVIEW 101 LRESULT CALLBACK WindowPro...











