• typedef struct error
    Hi I have code something like in hello.h #ifndef _HELLO_H #define _HELLO_H #define S16 signed short int #define S8 signed char typedef struct player { int x; int y; int score; }; extern...
  • typedef struct error
    Hi I have code something like in hello.h #ifndef _HELLO_H #define _HELLO_H #define S16 signed short int #define S8 signed char typedef struct player { int x; int y; int score; }; extern...
  • Struct Advance declaration ERROR C52
    /** Advance Declaration **/ struct enreg; typedef enreg Ts_Enreg; /** Prototypes **/ extern unsigned char MyFunc_1( Ts_Enreg * objects ); extern unsigned char MyFunc_2( Ts_Enreg objects[]); MyFunc_1...
  • Struct Advance declaration ERROR C52
    /** Advance Declaration **/ struct enreg; typedef enreg Ts_Enreg; /** Prototypes **/ extern unsigned char MyFunc_1( Ts_Enreg * objects ); extern unsigned char MyFunc_2( Ts_Enreg objects[]); MyFunc_1...
  • Syntax error on struct variable initialization
    I get syntax error for valid C-syntax. It seems like the compiler thinks that the initializer of the variable must come from a constant expression whereas a variable assignment should be accepted as...