VS2022:编译项目时卡住/内存一直上涨问题解决方案
问题描述:在VS2022中,编译项目会出现窗口卡死,打开文件管理器时,发现内存在持续增加。解决方案:方案1:原因可能是内存不足,在内存足够的情况下,单独编译某个文件的内容,看是否能过,如...
每日C++(25年):8月合集
8月1日:cmath:std::hypot8月2日:cmath:std::erf8月3日:cmath:std::ilogb8月4日:cmath:std::fma8月5日:cmath:std::nextafter8月6日:cmath:std::round8月7日:cmath:std::trunc8月8...
WindowsAPI-控件:Static
使用WindowsAPI,创建一个static控件:#include <windows.h> #include <CommCtrl.h> #pragma comment(lib, 'comctl32.lib') // 窗口过程函数 LRESULT CALLBACK WindowProc(HWND hwn...
vcpkg: Win11环境包管理工具配置教程
安装:1. 先打开任意一个空文件夹(假设文件夹路径为: c:\src),先将vcpkg克隆到本地:git clone https://github.com/microsoft/vcpkg如果您无法克隆到本地,您可以直接下载文件并解压到空文...
每日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...
每日C++(25年):8月4日 – 8月10日
8月4日:cmath:std::fma8月5日:cmath:std::nextafter8月6日:cmath:std::round8月7日:cmath:std::trunc8月8日:cmath:std::remainder8月9日:cmath:std::isnan8月10日:cmath:std::fma...
Win-Live2D-C++:一种解决模型窗口透明部分鼠标事件穿透到下层窗口的办法
引入:在Live2D官方的Demo中,我们将窗口设置为透明后,即使窗口透明,我们鼠标的事件仍然会被透明窗口处理,如何才能让鼠标的事件穿透到下层窗口呢?利用WindowsAPI,我们可以实现鼠标事件的穿...
C++实现socket编程(Windows、Linux)
基本概念C++ Socket 编程是实现网络通信的一种方式,利用 Socket 接口,程序可以通过计算机网络进行数据的传输与接收。Socket 是一种用于实现通信的抽象概念,它可看作是连接网络中两个通信端点...
Code Server: 配置C/C++环境教程
安装CodeServer:参考GitHub的安装教程:安装安装插件:你需要安装这五个插件,途中的Chinese插件可以不需要安装,根据个人英语阅读水平安装即可。 接着,创建一个.c的文件和一个CMakeLists.tx...
每日C++(25年):6月16日 – 6月22日
6月16日:C++17: std::shuffle6月17日:C++17:std::partial_sort6月18日:C++11: std::is_heap6月19日:C++17:std::inplace_merge6月20日:C++14: std::remove_if6月21日:C++17: std::trans...
WindowsAPI-控件:Hotkey
使用WindowsAPI,创建Hotkey控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,'\'/manifestdependency:type='win3...
每日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...












