• 8bit enums
    Hello everyone, I'm using some enums and due to the standard they are 16bit int per default. But in most of my cases 8bit would be sufficient and I'm not loaded with free RAM. I found that the compiler...
  • 8bit enums
    Hello everyone, I'm using some enums and due to the standard they are 16bit int per default. But in most of my cases 8bit would be sufficient and I'm not loaded with free RAM. I found that the compiler...
  • Enum Vs #define
    Hi All, I am being confused with the use of enum vs #define. Sometold me that enum is better and some #define. Well, as per my understanding while defining sequencial data i.e. 1,2,3,4... at that time...
  • Enums and Ints
    Bug, or just weird subtlety of ANSI C when it comes to enums and ints? typedef enum { es16_1, es16_2, es16_3, es16_Force16 = 0x7fff } EnumS16; typedef enum { eu16_1, eu16_2, eu16_3, eu16_Force16...
  • enum data type
    my doubt is a general C doubt.. we know if we are using enum the variables which we declare inside automatically increments by one than the previous variable.. but is there any method by which we could...