程序设计语言 第5页
程序设计相关语言,如:C语言
WindowsAPI-控件:SysTabControl32-C佳家

WindowsAPI-控件:SysTabControl32

使用WindowsAPI,创建SysTabControl32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') HINSTANCE hInst; HWND hwndTab; // 标签控件句柄 ...
用户80404320的头像-C佳家高级会员用户804043203个月前
0427
Windows:配置C++17/20-C佳家

Windows:配置C++17/20

安装软件点击 MSYS2 (百度网盘)下载,或者是去到 MSYS2官网下载,并完成安装。配置环境下载环境:在安装路径下找到:msys2.exe,并打开。接着粘贴:pacman -Syu --disable-download-timeout提...
Ciallo~的头像-C佳家高级会员Ciallo~56天前
0429
Ubuntu Linux下配置C/C++环境-C佳家

Ubuntu Linux下配置C/C++环境

环境操作系统:ubuntu-22.04.4安装1. 更新软件包列表,检查可用的软件包更新 sudo apt update2.  安装编译软件所必需的元包 build-essential。sudo apt install build-essential它们包括 GNU...
Ciallo~的头像-C佳家高级会员Ciallo~3个月前
0418
每日C++(25年):8月18日 – 8月24日-C佳家

每日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
Ciallo~的头像-C佳家高级会员Ciallo~37天前
04112
每日C++(25年):7月7日 - 7月13日-C佳家

每日C++(25年):7月7日 – 7月13日

7月7日:string:std::string::contains7月8日:string:std::string::swap7月9日:string:std::string::reserve7月10日:string:std::string::resize7月11日:string:std::string::shrink_t...
Ciallo~的头像-C佳家高级会员Ciallo~1个月前
03915
vcpkg: Win11环境包管理工具配置教程-C佳家

vcpkg: Win11环境包管理工具配置教程

安装:1. 先打开任意一个空文件夹(假设文件夹路径为: c:\src),先将vcpkg克隆到本地:git clone https://github.com/microsoft/vcpkg如果您无法克隆到本地,您可以直接下载文件并解压到空文...
Ciallo~的头像-C佳家高级会员Ciallo~3个月前
03815
C++: exception-诊断头文件-C佳家

C++: exception-诊断头文件

函数名站内文章/帖子备注std::exception_ptrexception:std::exception_ptr——————std::current_exceptionexception:std::current_exception——————  ——————  —————...
Ciallo~的头像-C佳家高级会员Ciallo~2小时前
0379
WindowsAPI-控件:GroupBox-C佳家

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...
用户80404320的头像-C佳家高级会员用户804043203个月前
0355
WindowsAPI-控件:ToolBar-C佳家

WindowsAPI-控件:ToolBar

使用WindowsAPI,创建ToolBar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_TOOLBAR 201 LRESULT CALLBACK WindowProc(HWND...
用户80404320的头像-C佳家高级会员用户804043203个月前
03514
WindowsAPI-控件:Tooltips_class32-C佳家

WindowsAPI-控件:Tooltips_class32

使用WindowsAPI,创建Tooltips控件:#include <windows.h> #include <commctrl.h> // Include the common controls #pragma comment(lib, 'comctl32.lib') #pragma comment(linker,...
用户80404320的头像-C佳家高级会员用户804043203个月前
0335
WindowsAPI-控件:Edit-C佳家

WindowsAPI-控件:Edit

使用WindowsAPI,创建Edit控件:#include <windows.h> // 全局声明 HINSTANCE hInst; LPCWSTR szWindowClass = L'win32app'; LPCWSTR szTitle = L'Win32 编辑控件示例'; // 此代码模块中...
用户80404320的头像-C佳家高级会员用户804043203个月前
03311
Windows:VSCode安装与配置C/C++环境-C佳家

Windows:VSCode安装与配置C/C++环境

VSCode安装:先在官网下载VSCode,如果官网下载很慢,你可以点击下方链接:安装时的安装路径尽可能不要的存在中文,其余没有什么需要注意的配置C/C++环境:首先你需要配置C/C++环境,你可以参考...