建立OS框架

include

include文件夹下面放一些需要用到的头文件,如type.h等等。

注意,我们在定义头文件的时候需要在开头和结尾加上:

1
2
3
4
5
6
#ifndef xxx
#define xxx

balabala

#endif

防止出现多重定义的报错