Skip to content

Commit

Permalink
feat: 更新提供的在线编译器配置
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims authored Sep 30, 2024
1 parent 759837e commit d3b23f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ C++ 环境配置
=======================================================================================================================

- 直接装 `Visual Studio (Windows 可用) <https://visualstudio.microsoft.com/zh-hans/>`_ 就好; 当然更建议按下文配置 Visual Studio 或 **VSCode**.
- `Compiler Explorer <https://godbolt.org/z/bbvarf6hW>`_ 可用来在线编译运行、分享代码, 它能自动格式化代码, 检测 :cpp:`=` 错写成 :cpp:`==`、下标越界等 Visual Studio 默认没检查的问题, 并有其他很多功能.
- `Compiler Explorer <https://godbolt.org/z/3bqadYv8b>`_ 可用来在线编译运行、分享代码, 它能自动格式化代码, 检测 :cpp:`=` 错写成 :cpp:`==`、下标越界等 Visual Studio 默认没检查的问题, 并有其他很多功能.
- :ref:`Visual Studio 配置教程 (Windows 可用) <vscode_cpp_starter:vs>`, 在 Visual Studio 默认配置基础上让他支持上述 Compiler Explorer 的部分功能和检查, 并能代码行间显示报错.
- :ref:`VSCode 配置教程 (Windows/MacOS/Linux 均可用) <vscode_cpp_starter:main>`, 相比 Visual Studio 配置教程, 它还能 **自动添加头文件**, 有更丰富的字体和颜色, 且检查代码速度更快.

Expand Down

0 comments on commit d3b23f8

Please sign in to comment.