Skip to content

Commit

Permalink
docs: 优化对环境配置的说明
Browse files Browse the repository at this point in the history
  • Loading branch information
FeignClaims authored Sep 27, 2024
1 parent d9e5df1 commit 759837e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ C++ 环境配置
=======================================================================================================================

- 直接装 `Visual Studio (Windows 可用) <https://visualstudio.microsoft.com/zh-hans/>`_ 就好; 当然更建议按下文配置 Visual Studio 或 **VSCode**.
- 如需在线编译运行, 可用 `Compiler Explorer <https://godbolt.org/z/bbvarf6hW>`_, 它能检测 :cpp:`=` 错写成 :cpp:`==`Visual Studio 默认没检查的问题.
- :ref:`Visual Studio 配置教程 (Windows 可用) <vscode_cpp_starter:vs>`, 在 Visual Studio 默认配置基础上添加自动格式化、代码行间显示报错、更多诊断.
- `Compiler Explorer <https://godbolt.org/z/bbvarf6hW>`_ 可用来在线编译运行、分享代码, 它能自动格式化代码, 检测 :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 759837e

Please sign in to comment.