vcpkg: Win11环境包管理工具配置教程
安装:1. 先打开任意一个空文件夹(假设文件夹路径为: c:\src),先将vcpkg克隆到本地:git clone https://github.com/microsoft/vcpkg如果您无法克隆到本地,您可以直接下载文件并解压到空文...
WindowsAPI-控件:ComboBoxEx32
使用WindowsAPI,创建ComboBoxEx32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define COMBOBOXEX_ID 101 HINSTANCE hInst; LRESULT...
WindowsAPI-控件:ListView(SysListView32)
使用WindowsAPI,创建一个ListView控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_LISTVIEW 101 LRESULT CALLBACK WindowPro...
WindowsAPI-控件:RichEdit
使用WindowsAPI,创建RichEdit:#include <windows.h> #include <commctrl.h> #include <richedit.h> #pragma comment(lib, 'comctl32.lib') //#pragma comment(lib, 'Msftedi...
WindowsAPI-控件:Edit
使用WindowsAPI,创建Edit控件:#include <windows.h> // 全局声明 HINSTANCE hInst; LPCWSTR szWindowClass = L'win32app'; LPCWSTR szTitle = L'Win32 编辑控件示例'; // 此代码模块中...
C++: algorithm-算法头文件
函数名站内文章/帖子备注std::sample()C++17 : std::sample函数——————std::inplace_merge()C++17 标准库: std::inplace_merge——————std::rotate()C++17 : std::rotate—————...
每日C++(25年):8月18日 – 8月24日
8月18日:cmath:std::clamp8月19日:cmath:std::asinh8月20日:cmath:std::pow8月21日:cmath:std::scalb8月22日:cmath:std::nan8月23日:cmath:std::div8月24日:cmath:std::exp
每日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-控件:TrackBar
使用WindowsAPI,创建TrackBar控件:#include <windows.h> #include <commctrl.h> #include <stdio.h> #pragma comment(lib, 'comctl32.lib') #define ID_TRACKBAR 101 #defi...
每日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年):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...
Ubuntu Linux下配置C/C++环境
环境操作系统:ubuntu-22.04.4安装1. 更新软件包列表,检查可用的软件包更新 sudo apt update2. 安装编译软件所必需的元包 build-essential。sudo apt install build-essential它们包括 GNU...