"bool" works... I use it all the time.
I would add, however, that K&R is probably beyond the comprehension of most C programmers and 99.99% of the arduino community. Without years or programming, making mistakes and tracking down those nasty bugs, it is not possible to appreciate it fully.
Quote from: fungus on Nov 23, 2012, 04:46 pm"bool" works... I use it all the time.Yes, so do I. Why would you even want to use "boolean"? But try "boolean" (which is the "standard" in "Arduino Language") on a C/C++ compiler and see what it thinks of it! (Probably much the same as what I think of it, actually.)And why is "boolean" supposed to be any easier for a beginner than "bool" anyway? It's introducing difference for the sake of difference! Madness.
In any case I don't think it is unreasonable to alert beginners, casual observers, and the unwary generally, to the differences.