??? 04/30/07 03:45 Read: times |
#138257 - The answer was..... Responding to: ???'s previous message |
Yes, the size is compiler dependant. The default is int (as to how many bits int is, is also compiler dependant). However in many of the compilers for 8bit micros, the size is char (8bits). Some actually give you the choice of 8 or 16 bits for the enum. |
Topic | Author | Date |
Quick C enumerated types question | 01/01/70 00:00 | |
Not to worry i've found out anyway. | 01/01/70 00:00 | |
What's a "quick C" | 01/01/70 00:00 | |
The answer was..... | 01/01/70 00:00 | |
not really | 01/01/70 00:00 | |
as has been discussed before | 01/01/70 00:00 | |
of course not | 01/01/70 00:00 | |
Not true | 01/01/70 00:00 | |
C99 says | 01/01/70 00:00 | |
more details | 01/01/70 00:00 | |
OK | 01/01/70 00:00 | |
not any more | 01/01/70 00:00 | |
In C99 | 01/01/70 00:00 | |
Enumeration type vs. constant | 01/01/70 00:00 | |
Thanks for that everyone | 01/01/70 00:00 |