C++实现socket编程(Windows、Linux)
基本概念C++ Socket 编程是实现网络通信的一种方式,利用 Socket 接口,程序可以通过计算机网络进行数据的传输与接收。Socket 是一种用于实现通信的抽象概念,它可看作是连接网络中两个通信端点...
程序设计天梯赛题解-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-...
Windows:VSCode安装与配置C/C++环境
VSCode安装:先在官网下载VSCode,如果官网下载很慢,你可以点击下方链接:安装时的安装路径尽可能不要的存在中文,其余没有什么需要注意的配置C/C++环境:首先你需要配置C/C++环境,你可以参考...
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年):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...
C++: exception-诊断头文件
函数名站内文章/帖子备注std::exception_ptrexception:std::exception_ptr——————std::current_exceptionexception:std::current_exception—————— —————— —————...
每日C++(25年):9月22日 – 9月28日
9月22日:cmath:std::comp_ellint_39月23日:cmath:std::assoc_legendre9月24日:cmath:std::atan29月25日:cmath:std::sinh9月26日:cmath:std::fmin9月27日:cmath:std::sin9月28日:cm...
WindowsAPI-控件:SysDateTimePick32
使用WindowsAPI,创建SysDateTimePick32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_DATETIMEPICK 101 LRESULT CALLBACK ...
vcpkg: Win11环境包管理工具配置教程
安装:1. 先打开任意一个空文件夹(假设文件夹路径为: c:\src),先将vcpkg克隆到本地:git clone https://github.com/microsoft/vcpkg如果您无法克隆到本地,您可以直接下载文件并解压到空文...
每日C++(25年):9月29日 – 10月5日
9月29日:exception:std::exception_ptr9月30日:exception:std::current_exception10月1日:10月2日:10月3日:10月4日:10月5日:
每日C++(25年):6月23日 – 6月29日
6月23日:C++17:std::find_if_not6月24日:C++17: std::transform_reduce6月25日:C++20:std::ranges::partition6月26日:C++23:std::ranges::fold_left6月27日:C++23:std::ranges::zip6月28...
Sublime Text配置C/C++教程
下载Sublime Text先下载(百度网盘)安装软件,或去官网安装,除了选择安装路径之外,其它一直next即可。新建文件夹安装软件软件后,我们在桌面新建一个文件夹,名字无所谓,将文件夹拖动至快捷...