cpp-book/src/compile/about-compiler.md
2024-02-05 23:09:03 +08:00

12 lines
438 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 项目编译
## 关于编译器
一个 C++源程序或者项目要转变为可执行文件,必须要经过编译器的编译。
C++的编译器有许多种,其中主流的有以下几个:
- GCC 编译器,由 GNU 提供,可支持主流系统上 C/C++项目的编译。
- MSVC 编译器,由 Microsoft 提供,主要在 Visual Studio 上使用。
- Clang 编译器,由 Apple 提供,基于 LLVM编译速度优秀。