Ubuntu22 & C++:在CodeServer中连接与使用MySQL
环境:打开终端,安装MySQL服务,再安装相关的开发包,如何安装MySQL服务器此处不再赘述,使用:dpkg -l | grep libmysqlcppconn dpkg -l | grep libmysqlclient-dev查看是否已经安装了相关的开...
C++:日期和时间库
函数名站内文章/帖子备注std::chrono::duration::countchrono:std::chrono::duration::count——————std::chrono::duration_castchrono:std::chrono::duration_cast——————std::chro...
WindowsAPI-控件:Hotkey
使用WindowsAPI,创建Hotkey控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,'\'/manifestdependency:type='win3...
每日C++(26年):6月1日 – 6月7日
6月1日:deque:std::deque::erase6月2日:deque:std::deque::push_back6月3日:deque:std::deque::emplace_back6月4日:deque:std::deque::pop_back6月5日:deque:std::deque::push_front6...
每日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月...
每日C++(26年):1月26日 – 2月1日
1月26日:future:std::future::get1月27日:future:std::future::valid1月28日:future:std::future::wait1月29日:future:std::future::wait_for1月30日:future:std::future:: wait_unti...
每日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年):9月合集
9月1日:cmath:std::signbit9月2日:cmath:std::lgamma9月3日:cmath:std::modf9月4日:cmath:std::floor9月5日:cmath:std::frexp9月6日:cmath:std::fdim9月7日:cmath:std::isfinite9...
WindowsAPI-控件:SysHeader32
使用WindowsAPI,创建SysHeader32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_HEADER 101 LRESULT CALLBACK WindowProc(H...
Whisper.cpp:VS2022下的语音转文本示例
克隆项目:使用Git工具,将项目克隆到本地:git clone https://github.com/ggml-org/whisper.cpp.git构建项目:构建说明构建可以分为CPU版本和GPU版本,即一个通过CPU的算力来为模型提供服务,...
WindowsAPI-控件:ToolBar
使用WindowsAPI,创建ToolBar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_TOOLBAR 201 LRESULT CALLBACK WindowProc(HWND...
每日C++(26年):1月19日 – 1月25日
1月19日:future:std::promise::set_value1月20日:future:std::promise::set_value_at_thread_exit1月21日:future:std::promise::set_exception1月22日:future:std::promise::set_except...













