Why didn't C have a boolean data type prior to C99?
Posted
by frou
on Stack Overflow
See other posts from Stack Overflow
or by frou
Published on 2010-03-11T15:03:51Z
Indexed on
2010/03/11
21:04 UTC
Read the original article
Hit count: 260
I realise you can just #define
some integers, but why didn't C have a dedicated boolean data type before C99?
It's such a common occurence in programming and logic, I don't understand the absense of an explicit type and notation.
© Stack Overflow or respective owner