• Problem with structures containing structures
    Hello, I have a problem with the following structure declaration: typedef struct { HDEntriesTYPE HDWindowStartSTRUCT; } actualPlayerStatusTYPE; typedef struct { unsigned long StartClusterUL;...
  • Offset to a member of a structure (relative to that structure)
    I have a structure I would like to compute the offset to members within. I've attempted this numerous ways all of which fail to generate a CONSTANT offset instead the compiler insists and create...
  • structures
    so lots of threads on this forum say you must not care about how the compiler puts things into structures with alignment and padding and stuff then we look at example code with structures used to...
  • Initialising Structures
    Hello, I am using the PK51 package. My program requires a structure of arrays. The following files are used:- 1) declare.c For defining the global variables 2) declare.h Containing the extern definations...
  • structure in keil
    dear sir/madam(s), I define simple structure in c(keil)for at89c52 mcu as bellow. struct MODE { YEAR:5; MONTH:5 }; struct MODE RUN,NON_RUN_MODE; My question is will my veriable RUN.YEAR...