程序设计天梯赛题解-5分题 (C/C++)
L1-001 Hello WorldL1-004 计算摄氏温度L1-012 计算指数L1-014 简单题L1-021 重要的话说三遍L1-024 后天L1-026 I Love GPLTL1-029 是不是太胖了L1-036 A乘以BL1-038 新世界L1-042 日期格式化L1-...
WindowsAPI-控件:Static
使用WindowsAPI,创建一个static控件:#include <windows.h> #include <CommCtrl.h> #pragma comment(lib, 'comctl32.lib') // 窗口过程函数 LRESULT CALLBACK WindowProc(HWND hwn...
WindowsAPI-控件:GroupBox
使用WindowsAPI,创建GroupBox:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_GROUPBOX 101 #define ID_BUTTON 102 LRESULT CALL...
WindowsAPI-控件:ComboBoxEx32
使用WindowsAPI,创建ComboBoxEx32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define COMBOBOXEX_ID 101 HINSTANCE hInst; LRESULT...
vcpkg: Win11环境包管理工具配置教程
安装:1. 先打开任意一个空文件夹(假设文件夹路径为: c:\src),先将vcpkg克隆到本地:git clone https://github.com/microsoft/vcpkg如果您无法克隆到本地,您可以直接下载文件并解压到空文...
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-控件:MonthCalendar
使用WindowsAPI,创建MonthCalendar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_CALENDAR 101 LRESULT CALLBACK WindowPr...
WindowsAPI-控件:Tooltips_class32
使用WindowsAPI,创建Tooltips控件:#include <windows.h> #include <commctrl.h> // Include the common controls #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,...
Dev-Cpp 5.11 安装教程
注意:本教程使用的软件为:DevCpp 5.11。对于其它版本,请读者自行斟酌有效性。安装:双击安装,可以先不用选择语言:点击I Agree选择要按照的位置,点击:Install点击Finish:运行软件,选择你...
Sublime Text配置C/C++教程
1先下载(百度网盘)安装软件,或去官网安装,除了选择安装路径之外,其它一直next即可。2安装软件软件后,我们在桌面新建一个文件夹,名字无所谓,将文件夹拖动至快捷方式上,即可通过Sublime ...
每日C++(25年):5月合集
5月1日:C++11 新特性解析:Lambda 表达式(1)5月2日:C++11 新特性解析:std::enable_if 和 SFINAE5月3日:C++11 新特性解析:std::array 和其与传统数组的优缺点5月4日:C++17 新特性解析:s...