??? 04/26/11 08:08 Read: times |
#182047 - bool Responding to: ???'s previous message |
Andy Neil said:
There is no single-bit data type in standard 'C'. That depends on which standard 'C' you choose to pick. C89 indeed does not have this, but C99 has _Bool and after #include <stdbool.h> bool with constants true and false. It is a pity however that many compilers do not support this. Maarten |
Topic | Author | Date |
Sbit or Bit decalaration | 01/01/70 00:00 | |
Users Manual | 01/01/70 00:00 | |
RTFM | 01/01/70 00:00 | |
uC51 | 01/01/70 00:00 | |
How to post links | 01/01/70 00:00 | |
Yes, really strange | 01/01/70 00:00 | |
bool | 01/01/70 00:00 | |
Andys statement stands | 01/01/70 00:00 | |
nobody mentioned storage | 01/01/70 00:00 | |
Yes, I did - as did the OP [edited] | 01/01/70 00:00 | |
Two values still != single-bit data type | 01/01/70 00:00 | |
Depends what you mean by "bit" ? | 01/01/70 00:00 | |
controller's pin | 01/01/70 00:00 | |
Why macros? | 01/01/70 00:00 | |
RTFM! | 01/01/70 00:00 | |
Was easy to locate | 01/01/70 00:00 |