每日C++(25年):11月24日 – 11月30日
11月24日:mutex:std::mutex::lock11月25日:mutex:std::mutex::try_lock11月26日:mutex:std::mutex::unlock11月27日:mutex:std::timed_mutex::lock11月28日:mutex:std::timed_mutex::t...
C++实现socket编程(Windows、Linux)
基本概念C++ Socket 编程是实现网络通信的一种方式,利用 Socket 接口,程序可以通过计算机网络进行数据的传输与接收。Socket 是一种用于实现通信的抽象概念,它可看作是连接网络中两个通信端点...
Windows:VSCode安装与配置C/C++环境
VSCode安装:先在官网下载VSCode,如果官网下载很慢,你可以点击下方链接:安装时的安装路径尽可能不要的存在中文,其余没有什么需要注意的配置C/C++环境:首先你需要配置C/C++环境,你可以参考...
C++ 中四种字符串字面量的区别
在 C++ 编程中,字符串表示是非常重要的一部分。开发者可以使用多种方式来定义和操作字符串,每种方式都有其特定的语义与应用。本文将详细探讨四种不同的字符串表示:L'string'、'string'、TEXT...
每日C++(25年):12月1日 – 12月7日
12月1日:mutex:std::recursive_mutex::try_lock12月2日:mutex:std::recursive_mutex::unlock12月3日:mutex:std::recursive_timed_mutex::lock12月4日:mutex:std::recursive_timed_mutex...
Win-Live2D-C++:一种解决模型窗口透明部分鼠标事件穿透到下层窗口的办法
引入:在Live2D官方的Demo中,我们将窗口设置为透明后,即使窗口透明,我们鼠标的事件仍然会被透明窗口处理,如何才能让鼠标的事件穿透到下层窗口呢?利用WindowsAPI,我们可以实现鼠标事件的穿...
每日C++(25年):8月11日 – 8月17日
8月11日:cmath:std::tgamma8月12日:cmath:std::cbrt8月13日:cmath:std::nearbyint8月14日:cmath:std::log1p8月15日:cmath:std::sin8月16日:cmath:std::log28月17日:cmath:std::le...
每日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...
每日C++(25年):7月28日 – 8月3日
7月28日:iostream:std::clog7月29日:iostream:std::istream::ignore7月30日:iostream:std::istream::getline7月31日:iostream:std::istream::read8月1日:cmath:std::hypot8月2日:cma...
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年):7月合集
7月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::compare7月5日:string:std::str...
每日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 ...










