每日C++(25年):10月6日 – 10月12日
10月6日:exception:std::logic_error10月7日:stdexcept:std::invalid_argument10月8日:stdexcept:std::domain_error10月9日:stdexcept:std::length_error10月10日:stdexcept:std::out...
WindowsAPI-控件:GroupBox
使用WindowsAPI,创建GroupBox:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_GROUPBOX 101 #define ID_BUTTON 102 LRESULT CALL...
C++: 诊断库
函数名站内文章/帖子备注std::exception_ptrexception:std::exception_ptr——————std::current_exceptionexception:std::current_exception——————std::rethrow_exceptionexception...
WindowsAPI-控件:RichEdit
使用WindowsAPI,创建RichEdit:#include <windows.h> #include <commctrl.h> #include <richedit.h> #pragma comment(lib, 'comctl32.lib') //#pragma comment(lib, 'Msftedi...
C++: iostream-输入输出头文件
函数名站内文章/帖子备注std::ostream::rdbufiostream:std::ostream::rdbuf——————std::ostream::writeiostream:std::ostream::write——————std::ostream::flushiostream:std::ost...
每日C++(25年):12月合集
12月1日:mutex:std::recursive_mutex::try_lock12月2日:mutex:std::recursive_mutex::unlock12月3日:mutex:std::recursive_timed_mutex::lock12月4日:mutex:std::recursive_timed_mutex...
WindowsAPI-控件:SysHeader32
使用WindowsAPI,创建SysHeader32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_HEADER 101 LRESULT CALLBACK WindowProc(H...
每日C++(25年):9月15日 – 9月21日
9月15日:cmath:std::sph_neumann9月16日:cmath:std::sph_legendre9月17日:std::sph_bessel9月18日:cmath:std::comp_ellint_29月19日:cmath:std::legendre9月20日:cmath:std::hermite...
WindowsAPI-控件:SysTabControl32
使用WindowsAPI,创建SysTabControl32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') HINSTANCE hInst; HWND hwndTab; // 标签控件句柄 ...
每日C++(25年):6月合集
6月1日:C++20 : std::atomic::wait 和 std::atomic::notify_one/notify_all6月2日:C++14 中的 std::make_unique函数6月3日:C++11 : std::getline 的扩展用法6月4日:C++17 标准库: std::mem...
每日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...
Ubuntu22 & C++:在CodeServer中连接与使用MySQL
环境:打开终端,安装MySQL服务,再安装相关的开发包,如何安装MySQL服务器此处不再赘述,使用:dpkg -l | grep libmysqlcppconn dpkg -l | grep libmysqlclient-dev查看是否已经安装了相关的开...











