C++共49篇
C++
vcpkg: Win11环境包管理工具配置教程-C佳家

vcpkg: Win11环境包管理工具配置教程

安装:1. 先打开任意一个空文件夹(假设文件夹路径为: c:\src),先将vcpkg克隆到本地:git clone https://github.com/microsoft/vcpkg如果您无法克隆到本地,您可以直接下载文件并解压到空文...
Ciallo~(∠・ω< )⌒★的头像-C佳家高级会员Ciallo~(∠・ω< )⌒★2个月前
03815
WindowsAPI-控件:ProgressBar-C佳家

WindowsAPI-控件:ProgressBar

使用WindowsAPI,创建ProgressBar控件:#include <windows.h> #include <commctrl.h> #define TIMER_ID 1 #pragma comment(lib, 'comctl32.lib') HWND hwndProgressBar; int c = 0;...
用户80404320的头像-C佳家高级会员用户804043202个月前
04015
WindowsAPI-控件:RichEdit-C佳家

WindowsAPI-控件:RichEdit

使用WindowsAPI,创建RichEdit:#include <windows.h> #include <commctrl.h> #include <richedit.h> #pragma comment(lib, 'comctl32.lib') //#pragma comment(lib, 'Msftedi...
用户80404320的头像-C佳家高级会员用户804043202个月前
05215
WindowsAPI-控件:TrackBar-C佳家

WindowsAPI-控件:TrackBar

使用WindowsAPI,创建TrackBar控件:#include <windows.h> #include <commctrl.h> #include <stdio.h> #pragma comment(lib, 'comctl32.lib') #define ID_TRACKBAR 101 #defi...
用户80404320的头像-C佳家高级会员用户804043202个月前
03215
每日C++(25年):7月7日 - 7月13日-C佳家

每日C++(25年):7月7日 – 7月13日

7月7日:string:std::string::contains7月8日:string:std::string::swap7月9日:string:std::string::reserve7月10日:string:std::string::resize7月11日:string:std::string::shrink_t...
Ciallo~(∠・ω< )⌒★的头像-C佳家高级会员Ciallo~(∠・ω< )⌒★17天前
03915
WindowsAPI-控件:Hotkey-C佳家

WindowsAPI-控件:Hotkey

使用WindowsAPI,创建Hotkey控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,'\'/manifestdependency:type='win3...
用户80404320的头像-C佳家高级会员用户804043202个月前
04515
每日C++(25年):6月30日 - 7月6日-C佳家

每日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...
Ciallo~(∠・ω< )⌒★的头像-C佳家高级会员Ciallo~(∠・ω< )⌒★21天前
05014
C++实现socket编程(Windows、Linux)-C佳家

C++实现socket编程(Windows、Linux)

基本概念C++ Socket 编程是实现网络通信的一种方式,利用 Socket 接口,程序可以通过计算机网络进行数据的传输与接收。Socket 是一种用于实现通信的抽象概念,它可看作是连接网络中两个通信端点...
Ciallo~(∠・ω< )⌒★的头像-C佳家高级会员Ciallo~(∠・ω< )⌒★2个月前
04414
WindowsAPI-控件:SysDateTimePick32-C佳家

WindowsAPI-控件:SysDateTimePick32

使用WindowsAPI,创建SysDateTimePick32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_DATETIMEPICK 101 LRESULT CALLBACK ...
Ciallo~(∠・ω< )⌒★的头像-C佳家高级会员Ciallo~(∠・ω< )⌒★2个月前
04214
WindowsAPI-控件:ToolBar-C佳家

WindowsAPI-控件:ToolBar

使用WindowsAPI,创建ToolBar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_TOOLBAR 201 LRESULT CALLBACK WindowProc(HWND...
用户80404320的头像-C佳家高级会员用户804043202个月前
03514
每日C++(25年):6月16日 - 6月22日-C佳家

每日C++(25年):6月16日 – 6月22日

6月16日:C++17: std::shuffle6月17日:C++17:std::partial_sort6月18日:C++11: std::is_heap6月19日:C++17:std::inplace_merge6月20日:C++14: std::remove_if6月21日:C++17: std::trans...
Ciallo~(∠・ω< )⌒★的头像-C佳家高级会员Ciallo~(∠・ω< )⌒★1个月前
06113
C++ 中四种字符串字面量的区别-C佳家

C++ 中四种字符串字面量的区别

在 C++ 编程中,字符串表示是非常重要的一部分。开发者可以使用多种方式来定义和操作字符串,每种方式都有其特定的语义与应用。本文将详细探讨四种不同的字符串表示:L'string'、'string'、TEXT...
Ciallo~(∠・ω< )⌒★的头像-C佳家高级会员Ciallo~(∠・ω< )⌒★33天前
03013