每日C++(25年):9月29日 – 10月5日
9月29日:exception:std::exception_ptr9月30日:exception:std::current_exception10月1日:exception:std::rethrow_exception10月2日:exception:std::nested_exception10月3日:exceptio...
每日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++(26年):5月4日 – 5月10日
5月4日:vector:std::vector::reserve5月5日:vector:std::vector::capacity5月6日:vector:std::vector::shrink_to_fit5月7日:vector:std::vector::clear5月8日:vector:std::vector::in...
Windows: range-v3库安装并集成到VS2022
使用vcpkg安装:在任意位置新建文件夹,进入文件夹,将文件夹通过终端打开(如果你没有安装vcpkg,请查看:vcpkg: Win11环境包管理工具配置教程)在终端中,输入:vcpkg.exe install range-v3安...
Dev-Cpp 5.11 安装教程
注意:本教程使用的软件为:DevCpp 5.11。对于其它版本,请读者自行斟酌有效性。安装:双击安装,可以先不用选择语言:点击I Agree选择要按照的位置,点击:Install点击Finish:运行软件,选择你...
WindowsAPI-控件:ComboBoxEx32
使用WindowsAPI,创建ComboBoxEx32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define COMBOBOXEX_ID 101 HINSTANCE hInst; LRESULT...
每日C++(26年):4月6日 – 4月12日
4月6日:chrono:std::chrono::month_weekday_last4月7日:chrono:std::chrono::year_month4月8日:chrono:std::chrono::year_month_day4月9日:chrono:std::chrono::year_month_day_last4月...
C++ 中四种字符串字面量的区别
在 C++ 编程中,字符串表示是非常重要的一部分。开发者可以使用多种方式来定义和操作字符串,每种方式都有其特定的语义与应用。本文将详细探讨四种不同的字符串表示:L'string'、'string'、TEXT...
每日C++(25年):7月合集
7月1日:C++14:std::search7月2日:string: std::basic_string::find_first_not_of7月3日:string:std::string::find_first_of7月4日:string: std::string::compare7月5日:string:std::str...
每日C++(25年):9月8日 – 9月14日
9月8日:cmath:std::assoc_laguerre9月9日:cmath:std::beta9月10日:cmath:std::comp_ellint_19月11日:cmath:std::cyl_bessel_j9月12日:cmath:std::cyl_bessel_i9月13日:cmath:std::c...
C++: 输入/输出库
函数名站内文章/帖子备注std::ostream::rdbufiostream:std::ostream::rdbuf——————std::ostream::writeiostream:std::ostream::write——————std::ostream::flushiostream:std::ost...
Ubuntu Linux下配置C/C++环境
环境操作系统:ubuntu-22.04.4安装1. 更新软件包列表,检查可用的软件包更新 sudo apt update2. 安装编译软件所必需的元包 build-essential。sudo apt install build-essential它们包括 GNU...













