每日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::...
WindowsAPI-控件:ProgressBar
使用WindowsAPI,创建ProgressBar控件:#include <windows.h> #include <commctrl.h> #define TIMER_ID 1 #pragma comment(lib, 'comctl32.lib') HWND hwndProgressBar; int c = 0;...
WindowsAPI-控件:Tooltips_class32
使用WindowsAPI,创建Tooltips控件:#include <windows.h> #include <commctrl.h> // Include the common controls #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,...
Sublime Text配置C/C++教程
下载Sublime Text先下载(百度网盘)安装软件,或去官网安装,除了选择安装路径之外,其它一直next即可。新建文件夹安装软件软件后,我们在桌面新建一个文件夹,名字无所谓,将文件夹拖动至快捷...
C++:并发支持库:thread-atomic-mutex
函数名站内文章/帖子备注std::thread::joinablethread:std::thread::joinable——————std::thread::get_idthread:std::thread::get_id——————std::thread::native_handlethread:std...
每日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...
WindowsAPI-控件:Static
使用WindowsAPI,创建一个static控件:#include <windows.h> #include <CommCtrl.h> #pragma comment(lib, 'comctl32.lib') // 窗口过程函数 LRESULT CALLBACK WindowProc(HWND hwn...
WindowsAPI-控件:Edit
使用WindowsAPI,创建Edit控件:#include <windows.h> // 全局声明 HINSTANCE hInst; LPCWSTR szWindowClass = L'win32app'; LPCWSTR szTitle = L'Win32 编辑控件示例'; // 此代码模块中...
每日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...
C++ & WordPress: 使用C++与PHP完成WordPress站点的用户密码校验
方案:在WordPress站点(后文简称:WP站点),如果想使用C++进行用户的验证的话,需要去复原加密算法,才能尝试去匹配数据库中的密码哈希值。在6.8版本后的WP,密码加密算法被更新了,所以博主...
每日C++(25年):7月21日 – 7月27日
7月21日:iostream:std::ostream::flush7月22日:iostream:std::cout::put7月23日:iostream:std::ostream::tie7月24日:iostream:std::ostream::width7月25日:iostream:std::ios::sync_w...
Qt:”无法定位程序输入点 xxx 于动态链接库”问题解决方案
错误:在使用Qt时,使用QProcess拉起一个Qt可执行文件时。出现了下图中的错误。错误信息:无法定位程序输入点qt_version_tag_6_8于动态链接库 (一个路径)。环境:VS2022 安装Qt扩展解决方案:方...












