在A.h里,我定义了
#define N_PERIOD 200
在B.h文件里,我包含了A.h文件,但编译就是通过不过,错误如下 error #20: identifier "N_PERIOD" is undefined
怎么回事? 是不是文件文件编译有先后顺序?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
在A.h里,我定义了
#define N_PERIOD 200
在B.h文件里,我包含了A.h文件,但编译就是通过不过,错误如下 error #20: identifier "N_PERIOD" is undefined
怎么回事? 是不是文件文件编译有先后顺序?