C++共78篇
C++
WindowsAPI-控件:ProgressBar-C佳家

WindowsAPI-控件:ProgressBar

使用WindowsAPI,创建ProgressBar控件:#include <windows.h> #include <commctrl.h> #define TIMER_ID 1 #pragma comment(lib, 'comctl32.lib') HWND hwndProgressBar; int c = 0;...
用户80404320的头像-C佳家高级会员用户804043206个月前
04615
每日C++(25年):7月7日 - 7月13日-C佳家

每日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...
Ciallo~的头像-C佳家高级会员Ciallo~4个月前
04115
Qt:“QtRunWork”任务返回了 false,但未记录错误。-C佳家

Qt:“QtRunWork”任务返回了 false,但未记录错误。

相关信息:错误信息:MSB4181 “QtRunWork”任务返回了 false,但未记录错误。IDE:VS2022环境相关:Qt6,C++14解决方案:方案一如果 Q_OBJECT 宏未正确处理,通常会出现类似的错误。要使用信...
内容更新/站内事务/违规举报的头像-C佳家内容更新/站内事务/违规举报25天前
02815
WindowsAPI-控件:RichEdit-C佳家

WindowsAPI-控件:RichEdit

使用WindowsAPI,创建RichEdit:#include <windows.h> #include <commctrl.h> #include <richedit.h> #pragma comment(lib, 'comctl32.lib') //#pragma comment(lib, 'Msftedi...
用户80404320的头像-C佳家高级会员用户804043206个月前
05315
vcpkg: Win11环境包管理工具配置教程-C佳家

vcpkg: Win11环境包管理工具配置教程

安装:1. 先打开任意一个空文件夹(假设文件夹路径为: c:\src),先将vcpkg克隆到本地:git clone https://github.com/microsoft/vcpkg如果您无法克隆到本地,您可以直接下载文件并解压到空文...
Ciallo~的头像-C佳家高级会员Ciallo~6个月前
03815
每日C++(25年):9月22日 – 9月28日-C佳家

每日C++(25年):9月22日 – 9月28日

9月22日:cmath:std::comp_ellint_39月23日:cmath:std::assoc_legendre9月24日:cmath:std::atan29月25日:cmath:std::sinh9月26日:cmath:std::fmin9月27日:cmath:std::sin9月28日:cm...
Ciallo~的头像-C佳家高级会员Ciallo~2个月前
06115
WindowsAPI-控件:Hotkey-C佳家

WindowsAPI-控件:Hotkey

使用WindowsAPI,创建Hotkey控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,'\'/manifestdependency:type='win3...
用户80404320的头像-C佳家高级会员用户804043206个月前
04915
WindowsAPI-控件:TrackBar-C佳家

WindowsAPI-控件:TrackBar

使用WindowsAPI,创建TrackBar控件:#include <windows.h> #include <commctrl.h> #include <stdio.h> #pragma comment(lib, 'comctl32.lib') #define ID_TRACKBAR 101 #defi...
用户80404320的头像-C佳家高级会员用户804043206个月前
03215
每日C++(25年):10月20日 – 10月26日-C佳家

每日C++(25年):10月20日 – 10月26日

10月20日:system_error:std::error_category10月21日:system_error:std::generic_category10月22日:system_error:std::system_category10月23日:system_error:std::error_condition10月...
Ciallo~的头像-C佳家高级会员Ciallo~1个月前
05315
WindowsAPI-控件:SysDateTimePick32-C佳家

WindowsAPI-控件:SysDateTimePick32

使用WindowsAPI,创建SysDateTimePick32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_DATETIMEPICK 101 LRESULT CALLBACK ...
Ciallo~的头像-C佳家高级会员Ciallo~6个月前
04214
每日C++(25年):6月30日 - 7月6日-C佳家

每日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...
Ciallo~的头像-C佳家高级会员Ciallo~4个月前
05014
WindowsAPI-控件:ToolBar-C佳家

WindowsAPI-控件:ToolBar

使用WindowsAPI,创建ToolBar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_TOOLBAR 201 LRESULT CALLBACK WindowProc(HWND...
用户80404320的头像-C佳家高级会员用户804043206个月前
03614