每日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日:...
WindowsAPI-控件:ListView(SysListView32)
使用WindowsAPI,创建一个ListView控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_LISTVIEW 101 LRESULT CALLBACK WindowPro...
WindowsAPI-控件:MonthCalendar
使用WindowsAPI,创建MonthCalendar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_CALENDAR 101 LRESULT CALLBACK WindowPr...
每日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...
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年):6月合集
6月1日:C++20 : std::atomic::wait 和 std::atomic::notify_one/notify_all6月2日:C++14 中的 std::make_unique函数6月3日:C++11 : std::getline 的扩展用法6月4日:C++17 标准库: std::mem...
C++: iostream-输入输出头文件
函数名站内文章/帖子备注std::ostream::rdbufiostream:std::ostream::rdbuf——————std::ostream::writeiostream:std::ostream::write——————std::ostream::flushiostream:std::ost...
WindowsAPI-控件:GroupBox
使用WindowsAPI,创建GroupBox:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_GROUPBOX 101 #define ID_BUTTON 102 LRESULT CALL...
每日C++(25年):10月6日 – 10月12日
10月6日:exception:std::logic_error10月7日:stdexcept:std::invalid_argument10月8日:stdexcept:std::domain_error10月9日:stdexcept:std::length_error10月10日:stdexcept:std::out...
WindowsAPI-控件:ProgressBar
使用WindowsAPI,创建ProgressBar控件:#include <windows.h> #include <commctrl.h> #define TIMER_ID 1 #pragma comment(lib, 'comctl32.lib') HWND hwndProgressBar; int c = 0;...
程序设计天梯赛题解-5分题 (C/C++)
L1-001 Hello WorldL1-004 计算摄氏温度L1-012 计算指数L1-014 简单题L1-021 重要的话说三遍L1-024 后天L1-026 I Love GPLTL1-029 是不是太胖了L1-036 A乘以BL1-038 新世界L1-042 日期格式化L1-...
每日C++(25年):12月15日 – 12月21日
12月15日:mutex:std::shared_timed_mutex::try_lock_until12月16日:mutex:std::shared_timed_mutex::unlock12月17日:mutex:std::shared_timed_mutex::lock_shared12月18日:mutex:std::s...











