Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
ブール型が必要になったときはいつでも、作成するか、できれば を使用するように言われましたstdbool.h。
stdbool.h
stdbool.hを使用しているためtypedef bool _Bool、 type を使用する代わりにヘッダーを使用する理由はあり_Boolますか? 追加マクロ ( /* #define true 1 #define false 0 */) のためだけですか?
typedef bool _Bool
_Bool
/* #define true 1 #define false 0 */