每日C++(26年):2月23日 – 3月1日
2月23日:atomic:std::atomic_fetch_xor和std::atomic_fetch_xor_explicit2月24日:atomic:std::atomic_fetch_max和std::atomic_fetch_max_explicit2月25日:atomic:std::atomic_fetch_min和...
WindowsAPI-控件:Edit
使用WindowsAPI,创建Edit控件:#include <windows.h> // 全局声明 HINSTANCE hInst; LPCWSTR szWindowClass = L'win32app'; LPCWSTR szTitle = L'Win32 编辑控件示例'; // 此代码模块中...
每日C++(26年):4月合集
4月1日:chrono:std::chrono::weekday_indexed4月2日:chrono:std::chrono::weekday_last4月3日:chrono:std::chrono::month_day4月4日:chrono:std::chrono::month_day_last4月5日:chrono...
程序设计天梯赛题解-10分题 (C/C++)
L1-007 念数字L1-008 求整数段和L1-010 比较大小L1-013 计算阶乘和L1-018 大笨钟L1-022 奇偶分家L1-028 判断素数L1-031 到底是不是太胖了L1-037 A除以BL1-040 最佳情侣身高差L1-041 寻找250L1-0...
WindowsAPI-控件:ComboBoxEx32
使用WindowsAPI,创建ComboBoxEx32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define COMBOBOXEX_ID 101 HINSTANCE hInst; LRESULT...
C++实现socket编程(Windows、Linux)
基本概念C++ Socket 编程是实现网络通信的一种方式,利用 Socket 接口,程序可以通过计算机网络进行数据的传输与接收。Socket 是一种用于实现通信的抽象概念,它可看作是连接网络中两个通信端点...
每日C++(26年):3月30日 – 4月5日
3月30日:chrono:std::chrono::year3月31日:chrono:std::chrono::weekday4月1日:chrono:std::chrono::weekday_indexed4月2日:chrono:std::chrono::weekday_last4月3日:chrono:std::chr...
WindowsAPI-控件:Tooltips_class32
使用WindowsAPI,创建Tooltips控件:#include <windows.h> #include <commctrl.h> // Include the common controls #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,...
每日C++(25年):5月26日 – 6月1日
5月26日:C++17 中的 std::clamp 函数5月27日:C++20 中的 std::bit_cast 函数5月28日:C++20 中的 std::ranges::views5月29日:C++17 : 存储任意类型的类型安全容器 std::any5月30日:C++17 中...
每日C++(25年):9月8日 – 9月14日
9月8日:cmath:std::assoc_laguerre9月9日:cmath:std::beta9月10日:cmath:std::comp_ellint_19月11日:cmath:std::cyl_bessel_j9月12日:cmath:std::cyl_bessel_i9月13日:cmath:std::c...
C++: 输入/输出库
函数名站内文章/帖子备注std::ostream::rdbufiostream:std::ostream::rdbuf——————std::ostream::writeiostream:std::ostream::write——————std::ostream::flushiostream:std::ost...
每日C++(26年):7月27日 – 8月2日
7月27日:list:std::list::end 和 std::list::cend7月28日:list:std::list::rbegin 和 std::list::crbegin7月29日:list:std::list::rend 和 std::list::crend7月30日:set:std::set::begi...














