每日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年):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...
每日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...
程序设计天梯赛题解-15分题 (C/C++)
L1-003 个位数统计L1-005 考试座位号L1-017 到底有多二L1-019 谁先倒L1-025 正整数A+BL1-030 一帮一L1-033 出生年L1-035 情人节L1-044 稳赢L1-048 矩阵A乘以BL1-050 倒数第N个字符串L1-054 福到...
C++: 诊断库
函数名站内文章/帖子备注std::exception_ptrexception:std::exception_ptr——————std::current_exceptionexception:std::current_exception——————std::rethrow_exceptionexception...
WindowsAPI-控件:ToolBar
使用WindowsAPI,创建ToolBar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_TOOLBAR 201 LRESULT CALLBACK WindowProc(HWND...
每日C++(25年):11月3日 – 11月9日
11月3日:thread:std::jthread::joinable11月4日:thread:std::jthread::get_id11月5日:thread:std::jthread::native_handle11月6日:thread:std::jthread::hardware_concurrency11月7日:...
每日C++(25年):12月22日 – 12月28日
12月22日:mutex:std::lock_guard12月23日:mutex:std::scoped_lock12月24日:mutex:std::unique_lock12月25日:shared_mutex:std::shared_lock::lock12月26日:shared_mutex:std::shared_l...
每日C++(25年):8月4日 – 8月10日
8月4日:cmath:std::fma8月5日:cmath:std::nextafter8月6日:cmath:std::round8月7日:cmath:std::trunc8月8日:cmath:std::remainder8月9日:cmath:std::isnan8月10日:cmath:std::fma...
每日C++(25年):5月合集
5月1日:C++11 新特性解析:Lambda 表达式(1)5月2日:C++11 新特性解析:std::enable_if 和 SFINAE5月3日:C++11 新特性解析:std::array 和其与传统数组的优缺点5月4日:C++17 新特性解析:s...
每日C++(25年):7月14日 – 7月20日
7月14日:string:std::string::assign7月15日:string:std::string::ends_with7月16日:string:std::string::at7月17日:string:std::string::remove_suffix7月18日:string:std::string::...
Win-Live2D-C++:一种解决模型窗口透明部分鼠标事件穿透到下层窗口的办法
引入:在Live2D官方的Demo中,我们将窗口设置为透明后,即使窗口透明,我们鼠标的事件仍然会被透明窗口处理,如何才能让鼠标的事件穿透到下层窗口呢?利用WindowsAPI,我们可以实现鼠标事件的穿...









