每日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++实现socket编程(Windows、Linux)
基本概念C++ Socket 编程是实现网络通信的一种方式,利用 Socket 接口,程序可以通过计算机网络进行数据的传输与接收。Socket 是一种用于实现通信的抽象概念,它可看作是连接网络中两个通信端点...
每日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++(26年):3月9日 – 3月15日
3月9日:chrono:std::chrono::floor3月10日:chrono:std::chrono::ceil3月11日:chrono:std::chrono::round3月12日:chrono:std::chrono::abs3月13日:chrono:std::chrono::system_clock::...
WindowsAPI-控件:SysDateTimePick32
使用WindowsAPI,创建SysDateTimePick32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_DATETIMEPICK 101 LRESULT CALLBACK ...
每日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...
每日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...
Win-Live2D-C++:一种解决模型窗口透明部分鼠标事件穿透到下层窗口的办法
引入:在Live2D官方的Demo中,我们将窗口设置为透明后,即使窗口透明,我们鼠标的事件仍然会被透明窗口处理,如何才能让鼠标的事件穿透到下层窗口呢?利用WindowsAPI,我们可以实现鼠标事件的穿...
每日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年):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...
每日C++(26年):1月19日 – 1月25日
1月19日:future:std::promise::set_value1月20日:future:std::promise::set_value_at_thread_exit1月21日:future:std::promise::set_exception1月22日:future:std::promise::set_except...
C++ 中四种字符串字面量的区别
在 C++ 编程中,字符串表示是非常重要的一部分。开发者可以使用多种方式来定义和操作字符串,每种方式都有其特定的语义与应用。本文将详细探讨四种不同的字符串表示:L'string'、'string'、TEXT...











