Windows: range-v3库安装并集成到VS2022
使用vcpkg安装:在任意位置新建文件夹,进入文件夹,将文件夹通过终端打开(如果你没有安装vcpkg,请查看:vcpkg: Win11环境包管理工具配置教程)在终端中,输入:vcpkg.exe install range-v3安...
WindowsAPI-控件:SysPager与ToolbarWindow32
使用WindowsAPI,创建SysPager和ToolbarWindow32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define WINDOW_CLASS_NAME L'SampleWin...
WindowsAPI-控件:RichEdit
使用WindowsAPI,创建RichEdit:#include <windows.h> #include <commctrl.h> #include <richedit.h> #pragma comment(lib, 'comctl32.lib') //#pragma comment(lib, 'Msftedi...
每日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 ...
每日C++(25年):4月21日 – 4月27日
4月21日:C++11新特性解析:alignas 和 alignof 关键字:掌控内存对齐的利器4月22日:C++14 新特性解析:自定义字面量(User-defined Literals)4月23日:C++11 新特性介绍:范围 for 循环(Ran...
每日C++(25年):6月23日 – 6月29日
6月23日:C++17:std::find_if_not6月24日:C++17: std::transform_reduce6月25日:C++20:std::ranges::partition6月26日:C++23:std::ranges::fold_left6月27日:C++23:std::ranges::zip6月28...
每日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年):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年):4月28日 – 5月4日
4月28日:C++14 新特性解析:std::shared_timed_mutex4月29日:C++11 新特性解析:移动语义(Move Semantics)4月30日:C++11 新特性解析:std::initializer_list5月1日:C++11 新特性解析:Lam...
每日C++(25年):9月29日 – 10月5日
9月29日:exception:std::exception_ptr9月30日:exception:std::current_exception10月1日:10月2日:10月3日:10月4日:10月5日:
WindowsAPI-控件:Hotkey
使用WindowsAPI,创建Hotkey控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,'\'/manifestdependency:type='win3...
C++实现socket编程(Windows、Linux)
基本概念C++ Socket 编程是实现网络通信的一种方式,利用 Socket 接口,程序可以通过计算机网络进行数据的传输与接收。Socket 是一种用于实现通信的抽象概念,它可看作是连接网络中两个通信端点...