Connected: An Internet Encyclopedia
3.4 Boolean
Up:
Connected: An Internet Encyclopedia
Up:
Requests For Comments
Up:
RFC 1832
Up:
3. XDR DATA TYPES
Prev: 3.3 Enumeration
Next: 3.5 Hyper Integer and Unsigned Hyper Integer
3.4 Boolean
3.4 Boolean
Booleans are important enough and occur frequently enough to warrant
their own explicit type in the standard. Booleans are declared as
follows:
bool identifier;
This is equivalent to:
enum { FALSE = 0, TRUE = 1 } identifier;
Next: 3.5 Hyper Integer and Unsigned Hyper Integer
Connected: An Internet Encyclopedia
3.4 Boolean