標(biāo)題: C語言volatileconst 下邊的這個(gè)_O和_IO不是一個(gè)意思嗎 [打印本頁]

作者: egsresrhtrhrtst    時(shí)間: 2023-4-9 19:12
標(biāo)題: C語言volatileconst 下邊的這個(gè)_O和_IO不是一個(gè)意思嗎
問一下各位
下邊的這個(gè)_O和_IO不是一個(gè)意思嗎
為什么要再重復(fù)定義一次
#define
__I    volatileconst   ,都定義成volatile
#define __O volatile     
#define __IO volatile

作者: Hephaestus    時(shí)間: 2023-4-9 20:27
是一個(gè)意思,你甚至都可以不用_O和_IO只用volatile。




歡迎光臨 (http://www.torrancerestoration.com/bbs/) Powered by Discuz! X3.1