每日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...
WindowsAPI-控件:SysDateTimePick32
使用WindowsAPI,创建SysDateTimePick32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_DATETIMEPICK 101 LRESULT CALLBACK ...
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年):4月21日 – 4月27日
4月21日:C++11新特性解析:alignas 和 alignof 关键字:掌控内存对齐的利器4月22日:C++14 新特性解析:自定义字面量(User-defined Literals)4月23日:C++11 新特性介绍:范围 for 循环(Ran...
WindowsAPI-控件:MonthCalendar
使用WindowsAPI,创建MonthCalendar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_CALENDAR 101 LRESULT CALLBACK WindowPr...
WindowsAPI-控件:SysPager与ToolbarWindow32
使用WindowsAPI,创建SysPager和ToolbarWindow32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define WINDOW_CLASS_NAME L'SampleWin...
每日C++(25年):6月9日 – 6月15日
6月9日:C++17 : std::rotate6月10日:C++17 : std::partition6月11日:C++17 : std::copy_if6月12日:C++11 : enum class 语法6月13日:C++17 : std::for_each_n6月14日:C++23: std::ran...
WindowsAPI-控件:SysHeader32
使用WindowsAPI,创建SysHeader32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_HEADER 101 LRESULT CALLBACK WindowProc(H...
每日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年):8月合集
8月1日:cmath:std::hypot8月2日:cmath:std::erf8月3日:cmath:std::ilogb8月4日:cmath:std::fma8月5日:cmath:std::nextafter8月6日:8月7日:8月8日:8月9日:8月10日:
WindowsAPI-控件:Edit
使用WindowsAPI,创建Edit控件:#include <windows.h> // 全局声明 HINSTANCE hInst; LPCWSTR szWindowClass = L'win32app'; LPCWSTR szTitle = L'Win32 编辑控件示例'; // 此代码模块中...
程序设计天梯赛题解-25分题 (C/C++)
L2-002 链表去重L2-003 月饼L2-004 这是二叉搜索树吗?L2-005 集合相似度L2-006 树的遍历L2-007 家庭房产L2-008 最长对称子串L2-009 抢红包L2-010 排座位L2-011 玩转二叉树L2-012 关于堆的判断...