69,371
社区成员
发帖
与我相关
我的任务
分享
#ifndef __SAMPLE_H_
#define __SAMPLE_H_
int func(int a);
#endif
sample.c
#include "sample.h"
int func(int a)
{
return a+1;
}
#ifndef __SAMPLE_H_
#define __SAMPLE_H_
extern int a;
#endif
sample.c
int a=0;