WindowsAPI-控件:SysHeader32
使用WindowsAPI,创建SysHeader32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_HEADER 101 LRESULT CALLBACK WindowProc(H...
C++实现socket编程(Windows、Linux)
基本概念C++ Socket 编程是实现网络通信的一种方式,利用 Socket 接口,程序可以通过计算机网络进行数据的传输与接收。Socket 是一种用于实现通信的抽象概念,它可看作是连接网络中两个通信端点...
WindowsAPI-控件:Tooltips_class32
使用WindowsAPI,创建Tooltips控件:#include <windows.h> #include <commctrl.h> // Include the common controls #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,...
WindowsAPI-控件:RichEdit
使用WindowsAPI,创建RichEdit:#include <windows.h> #include <commctrl.h> #include <richedit.h> #pragma comment(lib, 'comctl32.lib') //#pragma comment(lib, 'Msftedi...
WindowsAPI-控件:SysTabControl32
使用WindowsAPI,创建SysTabControl32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') HINSTANCE hInst; HWND hwndTab; // 标签控件句柄 ...
Windows: range-v3库安装并集成到VS2022
使用vcpkg安装:在任意位置新建文件夹,进入文件夹,将文件夹通过终端打开(如果你没有安装vcpkg,请查看:vcpkg: Win11环境包管理工具配置教程)在终端中,输入:vcpkg.exe install range-v3安...
WindowsAPI-控件:ListView(SysListView32)
使用WindowsAPI,创建一个ListView控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_LISTVIEW 101 LRESULT CALLBACK WindowPro...
每日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年):8月合集
8月1日:cmath:std::hypot8月2日:cmath:std::erf8月3日:cmath:std::ilogb8月4日:cmath:std::fma8月5日:cmath:std::nextafter8月6日:cmath:std::round8月7日:8月8日:8月9日:8月10...
每日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++...
每日C++(25年):7月21日 – 7月27日
7月21日:iostream:std::ostream::flush7月22日:iostream:std::cout::put7月23日:iostream:std::ostream::tie7月24日:iostream:std::ostream::width7月25日:iostream:std::ios::sync_w...
每日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...