• Can pointer types be cast?
    Here is my problem, i have several simmilar structue definitions (containers for messages) struct FIRST{ unsigned char Word_Pos[8] unsigned char Data[8] unsigned char Msg_Len }; struct FIRST...
  • Can pointer types be cast?
    Here is my problem, i have several simmilar structue definitions (containers for messages) struct FIRST{ unsigned char Word_Pos[8] unsigned char Data[8] unsigned char Msg_Len }; struct FIRST...
  • cast?
    Does anybody know, how one have to cast an operation correctly? And is it necessary to tell the compiler that a constant is unsined long #define dword unsigned long unsigned char ucH; //hours unsigned...
  • cast?
    Does anybody know, how one have to cast an operation correctly? And is it necessary to tell the compiler that a constant is unsined long #define dword unsigned long unsigned char ucH; //hours unsigned...
  • type casting?
    Hello, a question about how C166 handles type conversions: I have this: unsigned long c; unsigned char i, d if the following code is executed: c = 20403776; i = 0; d = 3; c += pow...