• Typedef __xxx struct? Defines?
    Hi guys, I have a piece of code that I copied from another source but I don't understand what it means and the Keil compiler doesn't either. The code looks like that: #if _MSC_VER >= 1000...
  • array defining
    i want to send 300 constant values to an array and i defined it in this way code unsigned int a[]= '' 936, 956, 1100, 1208, 1150, 986''; // like these all 300 values but keil software gives error...
  • typedef & optimisation
    In the book "TCP/IP Lean" [1], the author states: "I have used #define in preference to typedef because compilers use better optimisation strategies for their native data types." Is this true of...
  • Circular Typedefs
    Structs can easily have circular references: struct ATag { struct BTag* pB; }; struct BTag { struct ATag* pA; }; Can the same thing be done with typedefs? typedef struct { BType* pB; } AType;...
  • about defining charactre arrays
    hey i a working at insignia technologies and i have a problem with defining character arrays actually i am programming a 89C51RD2 chip using flash magic and i have a problem with programs that have...