??? 07/25/11 13:56 Read: times Msg Score: -1 -1 Answer is Wrong |
#183035 - Not wrong Responding to: ???'s previous message |
The OP asked for a bit variable. In my book that is a variable that can hold two values: true or false (1 or 0 if you like). That is exactly what the bool type is for. How the compiler converts that to the available hardware is totally irrelevant. |
Topic | Author | Date |
Bit variable in KEIL Arm | 01/01/70 00:00 | |
Hw bit variables normally not available in processors | 01/01/70 00:00 | |
Not quite true. | 01/01/70 00:00 | |
He covered that | 01/01/70 00:00 | |
Choice of forum | 01/01/70 00:00 | |
bool | 01/01/70 00:00 | |
bool is nothing specifically to do with single-bit variables | 01/01/70 00:00 | |
Not wrong | 01/01/70 00:00 | |
Yes - wrong! | 01/01/70 00:00 | |
bit != bool even if nominal storage range is same | 01/01/70 00:00 | |
Bit Fields | 01/01/70 00:00 | |
Wrong answer for this question | 01/01/70 00:00 |