From 6ca0427d0df83d33c73950dcb73dfd4fde7b0c6d Mon Sep 17 00:00:00 2001 From: FeignClaims Date: Wed, 2 Oct 2024 10:13:36 +0800 Subject: [PATCH] chore: bump godbolt settings --- cpp/main.rst | 2 +- share_code/main.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cpp/main.rst b/cpp/main.rst index ae89df17..5de819a6 100644 --- a/cpp/main.rst +++ b/cpp/main.rst @@ -15,7 +15,7 @@ C++ 环境配置 ======================================================================================================================= - 直接装 `Visual Studio (Windows 可用) `_ 就好; 当然更建议按下文配置 Visual Studio 或 **VSCode**. -- 如需在线编译运行, 可用 :godbolt:`Compiler Explorer <577xz95h1>`, 它能检测 :cpp:`=` 错写成 :cpp:`==` 等 Visual Studio 默认没检查的问题. +- 如需在线编译运行, 可用 :doc:`Compiler Explorer `, 它能检测 :cpp:`=` 错写成 :cpp:`==` 等 Visual Studio 默认没检查的问题. - :ref:`Visual Studio 配置教程 (Windows 可用) `, 在 Visual Studio 默认配置基础上添加自动格式化、代码行间显示报错、更多诊断. - :ref:`VSCode 配置教程 (Windows/MacOS/Linux 均可用) `, 相比 Visual Studio 配置教程, 它还能 **自动添加头文件**, 有更丰富的字体和颜色, 且检查代码速度更快. diff --git a/share_code/main.rst b/share_code/main.rst index 005ec17b..682ed1d1 100644 --- a/share_code/main.rst +++ b/share_code/main.rst @@ -8,7 +8,7 @@ 单源文件项目分享 ======================================================================================================================== -:godbolt:`577xz95h1` +:godbolt:`YY95j86dn` .. figure:: simple.gif