R
Richard
Ben Bacarisse said:C's logical and comparison operators all return int. So do other
seemingly logical tests like isspace. You need to know not only the
type but the range of possible return values in order to use all of
these correctly. If all of these returned _Bool, then you would have
one less thing to think about, but the boat sailed on that one years
ago.
Keith seems to me to be doing quite the opposite. He is warning that
the messy history of C means that you can be easily mistaken about
what types are used in various situations.
You can over state things. 0 or non zero. Bool.
What do you hope to gain by being rude? Please remember Thumper's
mother.
There was nothing rude there. I was offering advice as to using C as an
efficient low hevel, touch the HW language.