每日C++(26年):1月合集
1月1日:mutex:std::try_lock1月2日:mutex:std::lock1月3日:mutex:std::once_flag1月4日:mutex:std::call_once1月5日:condition_variable:std::condition_variable::notify_one1月6日:co...
每日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::...
每日C++(25年):7月14日 – 7月20日
7月14日:string:std::string::assign7月15日:string:std::string::ends_with7月16日:string:std::string::at7月17日:string:std::string::remove_suffix7月18日:string:std::string::...
Qt:“QtRunWork”任务返回了 false,但未记录错误。
相关信息:错误信息:MSB4181 “QtRunWork”任务返回了 false,但未记录错误。IDE:VS2022环境相关:Qt6,C++14解决方案:方案一如果 Q_OBJECT 宏未正确处理,通常会出现类似的错误。要使用信...
每日C++(25年/26年):12月29日 – 1月4日
12月29日:shared_mutex:std::shared_lock::unlock12月30日:shared_mutex:std::shared_lock::swap12月31日:shared_mutex:std::shared_lock::release1月1日:mutex:std::try_lock1月2日:mu...
每日C++(26年):3月16日 – 3月22日
3月16日:chrono:std::chrono::steady_clock::now3月17日:chrono:std::chrono::high_resolution_clock::now3月18日:chrono:std::chrono::utc_clock::now3月19日:chrono:std::chrono::utc...
每日C++(25年):10月13日 – 10月19日
10月13日:stdexcept:std::range_error10月14日:stdexcept:std::overflow_error10月15日:stdexcept:std::underflow_error10月16日:stdexcept:std::tx_exception10月17日:exception:std...
每日C++(25年):4月14日 – 4月20日
4月14日:C++17新特性解析:MSVC编译器中的结构化绑定4月15日:C++11新特性解析:auto类型推导4月16日:C++17新特性详解:constexpr if4月17日:C++11新特性解析:decltype类型推导4月18日:C++...
WindowsAPI-控件:MonthCalendar
使用WindowsAPI,创建MonthCalendar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_CALENDAR 101 LRESULT CALLBACK WindowPr...
Windows: range-v3库安装并集成到VS2022
使用vcpkg安装:在任意位置新建文件夹,进入文件夹,将文件夹通过终端打开(如果你没有安装vcpkg,请查看:vcpkg: Win11环境包管理工具配置教程)在终端中,输入:vcpkg.exe install range-v3安...
每日C++(26年):3月2日 – 3月8日
3月2日:atomic:std::atomic_flag_clear和std::atomic_flag_clear_explicit3月3日:atomic:std::atomic_flag_test和std::atomic_flag_test_explicit3月4日:atomic:std::atomic_flag_wait和s...
Whisper.cpp:VS2022下的语音转文本示例
克隆项目:使用Git工具,将项目克隆到本地:git clone https://github.com/ggml-org/whisper.cpp.git构建项目:构建说明构建可以分为CPU版本和GPU版本,即一个通过CPU的算力来为模型提供服务,...












