Skip to content

Commit

Permalink
完善文档
Browse files Browse the repository at this point in the history
  • Loading branch information
duyanning committed Jul 22, 2019
1 parent e6d9407 commit 5573323
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.chinese.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,10 +137,11 @@ cpps hello.cpp

### 在cpps的解释环境下

你只要在任何一个.cpp文件中加上这样的注释即可:
你只要在任意一个.cpp文件中加上这样的注释即可:
```c++
// linklib pthread
```
我觉得如果哪个.cpp文件用了这个库,就把linklib写在哪个.cpp文件中。如果多个.cpp文件都用了的话,写多次也没问题。觉得烦,不如集中写在main函数所在的.cpp中。
## 预编译头文件
你还可以通过预编译头文件来加速cpps的编译过程

Expand Down Expand Up @@ -250,6 +251,9 @@ cpps -c vc main.cpp


## 解释器指令汇总

注意:所有的指令都是写在.cpp文件中的,写在.h中没用。

### using
例子:
```c++
Expand Down
Binary file added doc/use-cpps-with-editors/EverEdit.docx
Binary file not shown.

0 comments on commit 5573323

Please sign in to comment.