C++共31篇
C++
C++实现socket编程(Windows、Linux)-津桥芝士站

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

基本概念C++ Socket 编程是实现网络通信的一种方式,利用 Socket 接口,程序可以通过计算机网络进行数据的传输与接收。Socket 是一种用于实现通信的抽象概念,它可看作是连接网络中两个通信端点...
Ciallo~的头像-津桥芝士站高级会员Ciallo~32天前
04114
WindowsAPI-控件:ToolBar-津桥芝士站

WindowsAPI-控件:ToolBar

使用WindowsAPI,创建ToolBar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_TOOLBAR 201 LRESULT CALLBACK WindowProc(HWND...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
03314
vcpkg: Win11环境包管理工具配置教程-津桥芝士站

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

安装:1. 先打开任意一个空文件夹(假设文件夹路径为: c:\src),先将vcpkg克隆到本地:git clone https://github.com/microsoft/vcpkg如果您无法克隆到本地,您可以直接下载文件并解压到空文...
Ciallo~的头像-津桥芝士站高级会员Ciallo~7天前
02715
每日C++(25年):6月2日 - 6月8日-津桥芝士站

每日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 ...
Ciallo~的头像-津桥芝士站高级会员Ciallo~18小时前
04312
Windows配置C++ 17/20-津桥芝士站

Windows配置C++ 17/20

1点击 MSYS2 (百度网盘)下载,或者是去到 MSYS2官网下载,并完成安装。2在安装路径下找到:msys2.exe,并打开。接着粘贴:pacman -Syu --disable-download-timeout提示输入的时候输入 Y 或者 y...
Ciallo~的头像-津桥芝士站高级会员Ciallo~36天前
0369
程序设计天梯赛题解-25分题 (C/C++)-津桥芝士站

程序设计天梯赛题解-25分题 (C/C++)

L2-002 链表去重L2-003 月饼L2-004 这是二叉搜索树吗?L2-005 集合相似度L2-006 树的遍历L2-007 家庭房产L2-008 最长对称子串L2-009 抢红包L2-010 排座位L2-011 玩转二叉树L2-012 关于堆的判断...
LICDAK的头像-津桥芝士站高级会员LICDAK13天前
07511
每日C++(25年):4月14日 - 4月20日-津桥芝士站

每日C++(25年):4月14日 – 4月20日

4月14日:C++17新特性解析:MSVC编译器中的结构化绑定4月15日:C++11新特性解析:auto类型推导4月16日:C++17新特性详解:constexpr if4月17日:C++11新特性解析:decltype类型推导4月18日:C++...
Ciallo~的头像-津桥芝士站高级会员Ciallo~22天前
04411
WindowsAPI-控件:MonthCalendar-津桥芝士站

WindowsAPI-控件:MonthCalendar

使用WindowsAPI,创建MonthCalendar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_CALENDAR 101 LRESULT CALLBACK WindowPr...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
05312
C++: <algorithm> 算法相关头文件-津桥芝士站

C++: <algorithm> 算法相关头文件

函数名站内文章/帖子备注std::sample()C++17 : std::sample函数——————               
Ciallo~的头像-津桥芝士站高级会员Ciallo~18小时前
0529
WindowsAPI-控件:RichEdit-津桥芝士站

WindowsAPI-控件:RichEdit

使用WindowsAPI,创建RichEdit:#include <windows.h> #include <commctrl.h> #include <richedit.h> #pragma comment(lib, 'comctl32.lib') //#pragma comment(lib, 'Msftedi...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
05115
WindowsAPI-控件:Tooltips_class32-津桥芝士站

WindowsAPI-控件:Tooltips_class32

使用WindowsAPI,创建Tooltips控件:#include <windows.h> #include <commctrl.h> // Include the common controls #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
0305
WindowsAPI-控件:GroupBox-津桥芝士站

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...
用户80404320的头像-津桥芝士站高级会员用户8040432037天前
0315