每日C++(25年):12月1日 – 12月7日
12月1日:mutex:std::recursive_mutex::try_lock12月2日:mutex:std::recursive_mutex::unlock12月3日:mutex:std::recursive_timed_mutex::lock12月4日:mutex:std::recursive_timed_mutex...
Dev-Cpp 5.11 安装教程
注意:本教程使用的软件为:DevCpp 5.11。对于其它版本,请读者自行斟酌有效性。安装:双击安装,可以先不用选择语言:点击I Agree选择要按照的位置,点击:Install点击Finish:运行软件,选择你...
每日C++(25年):6月9日 – 6月15日
6月9日:C++17 : std::rotate6月10日:C++17 : std::partition6月11日:C++17 : std::copy_if6月12日:C++11 : enum class 语法6月13日:C++17 : std::for_each_n6月14日:C++23: std::ran...
Code Server: 配置C/C++环境教程
安装CodeServer:参考GitHub的安装教程:安装安装插件:你需要安装这五个插件,途中的Chinese插件可以不需要安装,根据个人英语阅读水平安装即可。 接着,创建一个.c的文件和一个CMakeLists.tx...
WindowsAPI-控件:Edit
使用WindowsAPI,创建Edit控件:#include <windows.h> // 全局声明 HINSTANCE hInst; LPCWSTR szWindowClass = L'win32app'; LPCWSTR szTitle = L'Win32 编辑控件示例'; // 此代码模块中...
Win-Live2D-C++:一种解决模型窗口透明部分鼠标事件穿透到下层窗口的办法
引入:在Live2D官方的Demo中,我们将窗口设置为透明后,即使窗口透明,我们鼠标的事件仍然会被透明窗口处理,如何才能让鼠标的事件穿透到下层窗口呢?利用WindowsAPI,我们可以实现鼠标事件的穿...
每日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...
每日C++(25年):11月10日 – 11月16日
11月10日:thread:std::jthread::get_stop_token11月11日:thread:std::jthread::request_stop11月12日:thread:std::this_thread::yield11月13日:thread:std::this_thread::get_id11月14...
WindowsAPI-控件:ToolBar
使用WindowsAPI,创建ToolBar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_TOOLBAR 201 LRESULT CALLBACK WindowProc(HWND...
Sublime Text配置C/C++教程
下载Sublime Text先下载(百度网盘)安装软件,或去官网安装,除了选择安装路径之外,其它一直next即可。新建文件夹安装软件软件后,我们在桌面新建一个文件夹,名字无所谓,将文件夹拖动至快捷...
WindowsAPI-控件:Hotkey
使用WindowsAPI,创建Hotkey控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,'\'/manifestdependency:type='win3...












