book: typo fixes (#126)

comple -> compile
This commit is contained in:
Allen
2020-09-30 13:11:56 +08:00
committed by GitHub
parent ff05988742
commit 212f4f3503

View File

@@ -93,7 +93,7 @@ You should first compile the C code with `gcc`:
gcc -c foo.c gcc -c foo.c
``` ```
Comple and output the `foo.o` file, and link the C++ code to the `.o` file using `clang++` (or both compile to `.o` and then unlink them together): Compile and output the `foo.o` file, and link the C++ code to the `.o` file using `clang++` (or both compile to `.o` and then unlink them together):
```bash ```bash
clang++ 1.1.cpp foo.o -std=c++2a -o 1.1 clang++ 1.1.cpp foo.o -std=c++2a -o 1.1