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.

CCS5.4 宏编译

在h文件中定义 *(乘法),函数调用没问题,但是定义个/(除法)后,在函数调用时一直是0.

比如我定义  #define  A1  10     #define A2  A1*10    使用函数 tt(A2);//原形为float tt(float dd)。进去后dd为100.

如果#define A2  A1/10   s使用 tt(A2)进去后dd为0.这是缺少什么?