每日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...
每日C++(26年):4月合集
4月1日:chrono:std::chrono::weekday_indexed4月2日:chrono:std::chrono::weekday_last4月3日:chrono:std::chrono::month_day4月4日:chrono:std::chrono::month_day_last4月5日:chrono...
Windows: 使用vcpkg安装CURL库,并集成至VS
安装教程:首先确保已经安装了git(命令行窗口输入git -v 不会提示出错,不会安装Git请参阅:Git安装教程):创建一个新项目,在VS2022中,并在Cpp文件中添加以下测试代码:可以看到有很多报错,...
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...
WindowsAPI-控件:Tooltips_class32
使用WindowsAPI,创建Tooltips控件:#include <windows.h> #include <commctrl.h> // Include the common controls #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,...
WindowsAPI-控件:ComboBoxEx32
使用WindowsAPI,创建ComboBoxEx32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define COMBOBOXEX_ID 101 HINSTANCE hInst; LRESULT...
C++: 输入/输出库
函数名站内文章/帖子备注std::ostream::rdbufiostream:std::ostream::rdbuf——————std::ostream::writeiostream:std::ostream::write——————std::ostream::flushiostream:std::ost...
每日C++(25年):9月1日 – 9月7日
9月1日:cmath:std::signbit9月2日:cmath:std::lgamma9月3日:cmath:std::modf9月4日:cmath:std::floor9月5日:cmath:std::frexp9月6日:cmath:std::fdim9月7日:cmath:std::isfinite
每日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...
每日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...
VS2022:编译项目时卡住/内存一直上涨问题解决方案
问题描述:在VS2022中,编译项目会出现窗口卡死,打开文件管理器时,发现内存在持续增加。解决方案:方案1:原因可能是内存不足,在内存足够的情况下,单独编译某个文件的内容,看是否能过,如...
C++:并发支持库
函数名站内文章/帖子备注std::thread::joinablethread:std::thread::joinable——————std::thread::get_idthread:std::thread::get_id——————std::thread::native_handlethread:std...













