Whisper.cpp:VS2022下的语音转文本示例
克隆项目:使用Git工具,将项目克隆到本地:git clone https://github.com/ggml-org/whisper.cpp.git构建项目:构建说明构建可以分为CPU版本和GPU版本,即一个通过CPU的算力来为模型提供服务,...
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年):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...
每日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...
Ubuntu22 & C++:在CodeServer中连接与使用MySQL
环境:打开终端,安装MySQL服务,再安装相关的开发包,如何安装MySQL服务器此处不再赘述,使用:dpkg -l | grep libmysqlcppconn dpkg -l | grep libmysqlclient-dev查看是否已经安装了相关的开...
WindowsAPI-控件:Hotkey
使用WindowsAPI,创建Hotkey控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,'\'/manifestdependency:type='win3...
每日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...
Qt:“QtRunWork”任务返回了 false,但未记录错误。
相关信息:错误信息:MSB4181 “QtRunWork”任务返回了 false,但未记录错误。IDE:VS2022环境相关:Qt6,C++14解决方案:方案一如果 Q_OBJECT 宏未正确处理,通常会出现类似的错误。要使用信...
每日C++(25年):11月24日 – 11月30日
11月24日:mutex:std::mutex::lock11月25日:mutex:std::mutex::try_lock11月26日:mutex:std::mutex::unlock11月27日:mutex:std::timed_mutex::lock11月28日:mutex:std::timed_mutex::t...
每日C++(25年):10月合集
10月1日:exception:std::rethrow_exception10月2日:exception:std::nested_exception10月3日:exception:std::throw_with_nested10月4日:exception:std::rethrow_if_nested10月5日:exce...
每日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-控件:ProgressBar
使用WindowsAPI,创建ProgressBar控件:#include <windows.h> #include <commctrl.h> #define TIMER_ID 1 #pragma comment(lib, 'comctl32.lib') HWND hwndProgressBar; int c = 0;...











