每日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月...
VS2022:编译项目时卡住/内存一直上涨问题解决方案
问题描述:在VS2022中,编译项目会出现窗口卡死,打开文件管理器时,发现内存在持续增加。解决方案:方案1:原因可能是内存不足,在内存足够的情况下,单独编译某个文件的内容,看是否能过,如...
每日C++(25年):10月13日 – 10月19日
10月13日:stdexcept:std::range_error10月14日:stdexcept:std::overflow_error10月15日:stdexcept:std::underflow_error10月16日:stdexcept:std::tx_exception10月17日:exception:std...
每日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...
每日C++(25年):10月合集
10月1日:exception:std::rethrow_exception10月2日:exception:std::nested_exception10月3日:exception:std::throw_with_nested10月4日:exception:std::rethrow_if_nested10月5日:exce...
C++: 诊断库
函数名站内文章/帖子备注std::exception_ptrexception:std::exception_ptr——————std::current_exceptionexception:std::current_exception——————std::rethrow_exceptionexception...
Windows:配置C++17/20
安装软件点击 MSYS2 (百度网盘)下载,或者是去到 MSYS2官网下载,并完成安装。配置环境下载环境:在安装路径下找到:msys2.exe,并打开。接着粘贴:pacman -Syu --disable-download-timeout提...
WindowsAPI-控件:ComboBoxEx32
使用WindowsAPI,创建ComboBoxEx32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define COMBOBOXEX_ID 101 HINSTANCE hInst; LRESULT...
WindowsAPI-控件:Tooltips_class32
使用WindowsAPI,创建Tooltips控件:#include <windows.h> #include <commctrl.h> // Include the common controls #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,...
WindowsAPI-控件:Hotkey
使用WindowsAPI,创建Hotkey控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,'\'/manifestdependency:type='win3...
WindowsAPI-控件:ListView(SysListView32)
使用WindowsAPI,创建一个ListView控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_LISTVIEW 101 LRESULT CALLBACK WindowPro...
WindowsAPI-控件:Edit
使用WindowsAPI,创建Edit控件:#include <windows.h> // 全局声明 HINSTANCE hInst; LPCWSTR szWindowClass = L'win32app'; LPCWSTR szTitle = L'Win32 编辑控件示例'; // 此代码模块中...












