每日C++(25年):11月合集
11月1日:thread:std::thread::detach11月2日:thread:std::thread::swap11月3日:thread:std::jthread::joinable11月4日:thread:std::jthread::get_id11月5日:thread:std::jthread::nat...
每日C++(25年):11月17日 – 11月23日
11月17日:atomic:std::atomic::wait11月18日:atomic:std::atomic::fetch_add11月19日:atomic:std::atomic::fetch_sub11月20日:atomic:std::atomic::fetch_and11月21日:atomic:std::at...
Ubuntu22 & C++:在CodeServer中连接与使用MySQL
环境:打开终端,安装MySQL服务,再安装相关的开发包,如何安装MySQL服务器此处不再赘述,使用:dpkg -l | grep libmysqlcppconn dpkg -l | grep libmysqlclient-dev查看是否已经安装了相关的开...
WindowsAPI-控件:TrackBar
使用WindowsAPI,创建TrackBar控件:#include <windows.h> #include <commctrl.h> #include <stdio.h> #pragma comment(lib, 'comctl32.lib') #define ID_TRACKBAR 101 #defi...
WindowsAPI-控件:SysPager与ToolbarWindow32
使用WindowsAPI,创建SysPager和ToolbarWindow32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define WINDOW_CLASS_NAME L'SampleWin...
每日C++(26年):2月9日 – 2月15日
2月9日:atomic:std::atomic_flag::test_and_set2月10日:atomic:std::atomic_flag::test2月11日:atomic:std::atomic_flag::wait2月12日:atomic:std::atomic_flag::notify_one2月13日:at...
每日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年):5月合集
5月1日:C++11 新特性解析:Lambda 表达式(1)5月2日:C++11 新特性解析:std::enable_if 和 SFINAE5月3日:C++11 新特性解析:std::array 和其与传统数组的优缺点5月4日:C++17 新特性解析:s...
WindowsAPI-控件:ComboBoxEx32
使用WindowsAPI,创建ComboBoxEx32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define COMBOBOXEX_ID 101 HINSTANCE hInst; LRESULT...
C++: 诊断库
函数名站内文章/帖子备注std::exception_ptrexception:std::exception_ptr——————std::current_exceptionexception:std::current_exception——————std::rethrow_exceptionexception...
Dev-Cpp 5.11 安装教程
注意:本教程使用的软件为:DevCpp 5.11。对于其它版本,请读者自行斟酌有效性。安装:双击安装,可以先不用选择语言:点击I Agree选择要按照的位置,点击:Install点击Finish:运行软件,选择你...
WindowsAPI-控件:Edit
使用WindowsAPI,创建Edit控件:#include <windows.h> // 全局声明 HINSTANCE hInst; LPCWSTR szWindowClass = L'win32app'; LPCWSTR szTitle = L'Win32 编辑控件示例'; // 此代码模块中...














