c
test.h
//redefine错误
//int i;
//void test(){}
//.h文件只做声明 定义在.c完成
extern int k;
void fun();
test.c
#inlcude "test.h"
int k = 10;
void fun() {}
namespace
namespace 只做声明 定义在.cpp完成
namespace A
{
extern int a;
void fun();
}
class/struct
TODO: