每日C++(25年):7月21日 – 7月27日
7月21日:iostream:std::ostream::flush7月22日:iostream:std::cout::put7月23日:iostream:std::ostream::tie7月24日:iostream:std::ostream::width7月25日:iostream:std::ios::sync_w...
C++: cmath-数学头文件
函数名站内文章/帖子备注std::hypotcmath:std::hypot——————std::erfcmath:std::erf——————std::ilogbcmath:std::ilogb——————std::fmacmath:std::fma——————std::next...
每日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日:8月7日:8月8日:8月9日:8月10日:
每日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...
每日C++(25年):7月14日 – 7月20日
7月14日:string:std::string::assign7月15日:string:std::string::ends_with7月16日:string:std::string::at7月17日:string:std::string::remove_suffix7月18日:string:std::string::...
Windows: 使用vcpkg安装CURL库,并集成至VS
安装教程:首先确保已经安装了git(命令行窗口输入git -v 不会提示出错,不会安装Git请参阅:Git安装教程):创建一个新项目,在VS2022中,并在Cpp文件中添加以下测试代码:可以看到有很多报错,...
WindowsAPI-控件:MonthCalendar
使用WindowsAPI,创建MonthCalendar控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define ID_CALENDAR 101 LRESULT CALLBACK WindowPr...
Windows: range-v3库安装并集成到VS2022
使用vcpkg安装:在任意位置新建文件夹,进入文件夹,将文件夹通过终端打开(如果你没有安装vcpkg,请查看:vcpkg: Win11环境包管理工具配置教程)在终端中,输入:vcpkg.exe install range-v3安...
程序设计天梯赛题解-20分题 (C/C++)
L1-002 打印沙漏L1-006 连续因子L1-009 N个数求和L1-011 A-BL1-015 跟奥巴马一起画方块L1-016 查验身份证L1-020 帅到没朋友L1-023 输出GPLTL1-027 出租L1-032 Left-padL1-034 点赞L1-039 古风排...
Code Server: 配置C/C++环境教程
安装CodeServer:参考GitHub的安装教程:安装安装插件:你需要安装这五个插件,途中的Chinese插件可以不需要安装,根据个人英语阅读水平安装即可。 接着,创建一个.c的文件和一个CMakeLists.tx...
WindowsAPI-控件:SysPager与ToolbarWindow32
使用WindowsAPI,创建SysPager和ToolbarWindow32控件:#include <windows.h> #include <commctrl.h> #pragma comment(lib, 'comctl32.lib') #define WINDOW_CLASS_NAME L'SampleWin...
WindowsAPI-控件:RichEdit
使用WindowsAPI,创建RichEdit:#include <windows.h> #include <commctrl.h> #include <richedit.h> #pragma comment(lib, 'comctl32.lib') //#pragma comment(lib, 'Msftedi...