mirror of
https://github.com/wangdoc/clang-tutorial.git
synced 2026-02-03 10:53:37 +08:00
docs(multifile): fixed #27
This commit is contained in:
@@ -80,7 +80,9 @@ int main(void) {
|
||||
// File bar.c
|
||||
#include "bar.h"
|
||||
|
||||
int add(int, int);
|
||||
int add(int a, int b) {
|
||||
return a + b;
|
||||
}
|
||||
```
|
||||
|
||||
现在重新编译,就可以顺利得到二进制可执行文件。
|
||||
|
||||
Reference in New Issue
Block a user