23,121
社区成员
发帖
与我相关
我的任务
分享
#include <stdio.h>
#include "helloworld.h"
#include "test.h"
int main()
{
test();
helloworld();
return 0;
}
#include <stdio.h>
#include "helloworld.c"
#include "test.c"
int main()
{
test();
helloworld();
return 0;
}
sandbox$ tree
.
└── tmp
└── test
├── helloworld.c
├── helloworld.h
└── learn
├── main.c
├── main.o
└── math
├── test.c
└── test.h
4 directories, 6 files
sandbox$ cd tmp/test/learn/
learn$ gcc -c main.c -I ../ -I ./math/
learn$ ls
main.c main.o math