头文件和源文件放在不同的文件夹下,目录结构如下:
.
├── include
│ ├── test.h
├── src
│ ├── test.c
test.c 中写:
#include "test.h"
怎么写gcc命令 实现编译
头文件和源文件放在不同的文件夹下,目录结构如下:
.
├── include
│ ├── test.h
├── src
│ ├── test.c
test.c 中写:
#include "test.h"
怎么写gcc命令 实现编译