每日C++(26年):2月16日 – 2月22日
2月16日:atomic:std::atomic_thread_fence2月17日:atomic:std::atomic_signal_fence2月18日:atomic:std::atomic_exchange和std::atomic_exchange_explicit2月19日:atomic:std::atomic_f...
C++实现socket编程(Windows、Linux)
基本概念C++ Socket 编程是实现网络通信的一种方式,利用 Socket 接口,程序可以通过计算机网络进行数据的传输与接收。Socket 是一种用于实现通信的抽象概念,它可看作是连接网络中两个通信端点...
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-控件:Static
使用WindowsAPI,创建一个static控件:#include <windows.h> #include <CommCtrl.h> #pragma comment(lib, 'comctl32.lib') // 窗口过程函数 LRESULT CALLBACK WindowProc(HWND hwn...
每日C++(25年):8月11日 – 8月17日
8月11日:cmath:std::tgamma8月12日:cmath:std::cbrt8月13日:cmath:std::nearbyint8月14日:cmath:std::log1p8月15日:cmath:std::sin8月16日:cmath:std::log28月17日:cmath:std::le...
每日C++(25年):11月3日 – 11月9日
11月3日:thread:std::jthread::joinable11月4日:thread:std::jthread::get_id11月5日:thread:std::jthread::native_handle11月6日:thread:std::jthread::hardware_concurrency11月7日:...
每日C++(26年):1月5日 – 1月11日
1月5日:condition_variable:std::condition_variable::notify_one1月6日:condition_variable:std::condition_variable::notify_all1月7日:condition_variable:std::condition_variable::w...
每日C++(26年):2月合集
2月1日:future:std::shared_future::valid2月2日:future:std::shared_future::wait2月3日:future:std::shared_future::wait_for2月4日:future:std::shared_future::wait_until2月5日:f...
Windows:VSCode安装与配置C/C++环境
VSCode安装:先在官网下载VSCode,如果官网下载很慢,你可以点击下方链接:安装时的安装路径尽可能不要的存在中文,其余没有什么需要注意的配置C/C++环境:首先你需要配置C/C++环境,你可以参考...
每日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++(25年):9月15日 – 9月21日
9月15日:cmath:std::sph_neumann9月16日:cmath:std::sph_legendre9月17日:std::sph_bessel9月18日:cmath:std::comp_ellint_29月19日:cmath:std::legendre9月20日:cmath:std::hermite...
WindowsAPI-控件:SysDateTimePick32
使用WindowsAPI,创建SysDateTimePick32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_DATETIMEPICK 101 LRESULT CALLBACK ...













