HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by Alifatisk | Hacker News Reader
Parent
Full thread
Alifatisk
·
You can just include stdbool.h
Works since C99
View on HN
c0balt
·
I know, in my university tasks however we were not allowed to include additional files, like stdbool.h. it has become a habit afterwards.
Gibbon1
·
Always irked me they created an include for just that instead of sticking it in stdint.h
DerekL
·
Probably because some code already defines “bool”, “true”, and “false”, so adding those to an existing header would break it.
Reply on news.ycombinator.com