Dev-Cpp 5.11 安装教程
注意:本教程使用的软件为:DevCpp 5.11。对于其它版本,请读者自行斟酌有效性。安装:双击安装,可以先不用选择语言:点击I Agree选择要按照的位置,点击:Install点击Finish:运行软件,选择你...
C++ 中四种字符串字面量的区别
在 C++ 编程中,字符串表示是非常重要的一部分。开发者可以使用多种方式来定义和操作字符串,每种方式都有其特定的语义与应用。本文将详细探讨四种不同的字符串表示:L'string'、'string'、TEXT...
WindowsAPI-控件:ComboBoxEx32
使用WindowsAPI,创建ComboBoxEx32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define COMBOBOXEX_ID 101 HINSTANCE hInst; LRESULT...
每日C++(25年):6月2日 – 6月8日
6月2日:C++14 中的 std::make_uniqueh函数6月3日:C++11 : std::getline 的扩展用法6月4日:C++17 标准库: std::memory_order_consume函数6月5日:C++14 : std::exchange 函数6月6日:C++17 ...
Windows:VSCode安装与配置C/C++环境
VSCode安装:先在官网下载VSCode,如果官网下载很慢,你可以点击下方链接:安装时的安装路径尽可能不要的存在中文,其余没有什么需要注意的配置C/C++环境:首先你需要配置C/C++环境,你可以参考...
WindowsAPI-控件:MonthCalendar
使用WindowsAPI,创建MonthCalendar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_CALENDAR 101 LRESULT CALLBACK WindowPr...
C++实现socket编程(Windows、Linux)
基本概念C++ Socket 编程是实现网络通信的一种方式,利用 Socket 接口,程序可以通过计算机网络进行数据的传输与接收。Socket 是一种用于实现通信的抽象概念,它可看作是连接网络中两个通信端点...
每日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...
每日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年):6月30日 – 7月6日
6月30日:C++14:std::make_heap7月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::c...
每日C++(25年):6月9日 – 6月15日
6月9日:C++17 : std::rotate6月10日:C++17 : std::partition6月11日:C++17 : std::copy_if6月12日:C++11 : enum class 语法6月13日:C++17 : std::for_each_n6月14日:C++23: std::ran...
程序设计天梯赛题解-5分题 (C/C++)
L1-001 Hello WorldL1-004 计算摄氏温度L1-012 计算指数L1-014 简单题L1-021 重要的话说三遍L1-024 后天L1-026 I Love GPLTL1-029 是不是太胖了L1-036 A乘以BL1-038 新世界L1-042 日期格式化L1-...