HO自由 发表于 2020-12-8 16:19:37

define后的分号是什么意思

例如下列代码
#define LED_RED\
LED1_ON;\
LED2_OFF\
LED3_OFF

昨非 发表于 2020-12-8 16:39:12

参考:https://blog.csdn.net/ace_wty/article/details/109657344?ops_request_misc=%257B%2522request%255Fid%2522%253A%2522160741667819725271080906%2522%252C%2522scm%2522%253A%252220140713.130102334.pc%255Fall.%2522%257D&request_id=160741667819725271080906&biz_id=0&utm_medium=distribute.pc_search_result.none-task-blog-2~all~first_rank_v2~rank_v29-1-109657344.pc_search_result_cache&utm_term=c%E8%AF%AD%E8%A8%80define%E8%A6%81%E4%B8%8D%E8%A6%81%E5%88%86%E5%8F%B7&spm=1018.2118.3001.4449
页: [1]
查看完整版本: define后的分号是什么意思