每日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...
每日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...
VS2022:编译项目时卡住/内存一直上涨问题解决方案
问题描述:在VS2022中,编译项目会出现窗口卡死,打开文件管理器时,发现内存在持续增加。解决方案:方案1:原因可能是内存不足,在内存足够的情况下,单独编译某个文件的内容,看是否能过,如...
WindowsAPI-控件:SysHeader32
使用WindowsAPI,创建SysHeader32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_HEADER 101 LRESULT CALLBACK WindowProc(H...
C++: 输入/输出库
函数名站内文章/帖子备注std::ostream::rdbufiostream:std::ostream::rdbuf——————std::ostream::writeiostream:std::ostream::write——————std::ostream::flushiostream:std::ost...
每日C++(25年):7月28日 – 8月3日
7月28日:iostream:std::clog7月29日:iostream:std::istream::ignore7月30日:iostream:std::istream::getline7月31日:iostream:std::istream::read8月1日:cmath:std::hypot8月2日:cma...
C++ & WordPress: 使用C++与PHP完成WordPress站点的用户密码校验
方案:在WordPress站点(后文简称:WP站点),如果想使用C++进行用户的验证的话,需要去复原加密算法,才能尝试去匹配数据库中的密码哈希值。在6.8版本后的WP,密码加密算法被更新了,所以博主...
WindowsAPI-控件:ProgressBar
使用WindowsAPI,创建ProgressBar控件:#include <windows.h> #include <commctrl.h> #define TIMER_ID 1 #pragma comment(lib, 'comctl32.lib') HWND hwndProgressBar; int c = 0;...
每日C++(25年):9月29日 – 10月5日
9月29日:exception:std::exception_ptr9月30日:exception:std::current_exception10月1日:exception:std::rethrow_exception10月2日:exception:std::nested_exception10月3日:exceptio...
WindowsAPI-控件:Static
使用WindowsAPI,创建一个static控件:#include <windows.h> #include <CommCtrl.h> #pragma comment(lib, 'comctl32.lib') // 窗口过程函数 LRESULT CALLBACK WindowProc(HWND hwn...
每日C++(26年):2月23日 – 3月1日
2月23日:atomic:std::atomic_fetch_xor和std::atomic_fetch_xor_explicit2月24日:atomic:std::atomic_fetch_max和std::atomic_fetch_max_explicit2月25日:atomic:std::atomic_fetch_min和...
每日C++(26年):2月9日 – 2月15日
2月9日:atomic:std::atomic_flag::test_and_set2月10日:atomic:std::atomic_flag::test2月11日:atomic:std::atomic_flag::wait2月12日:atomic:std::atomic_flag::notify_one2月13日:at...












