#define SOUND_SPEED 0.034; int rtt; //round trip time in microsecond double distance; distance = (double)(rtt*SOUND_SPEED)/2;
它抱怨错误:'/'标记之前的预期表达.是不是因为我不能使用宏来定义小数或什么?
c macros c-preprocessor
c ×1
c-preprocessor ×1
macros ×1