• void pointer to struct pointer cast
    I declared a void pointer void *ptr; and a typedef struct named testStructure, with a member 'unsigned int a'. Now I will cast this pointer to a struct pointer: ptr=(testStructure*)malloc...
  • void pointer to struct pointer cast
    I declared a void pointer void *ptr; and a typedef struct named testStructure, with a member 'unsigned int a'. Now I will cast this pointer to a struct pointer: ptr=(testStructure*)malloc...
  • struct and pointer
    hi, i need a solution on how to read a struct which includes serveral types of vars with a pointer of type char. example: struct test { char a; int b; int c; char d; }; struct test s_test;...
  • overlaying struct pointers
    as many others, I'm sure, I am DATA space starved. We have, for backwards compatibility to process 'old files" (E1 format) which have the structures with the following pointers: E1_SEIN xdata *E1_SEINp;...
  • struct and pointer
    hi, i need a solution on how to read a struct which includes serveral types of vars with a pointer of type char. example: struct test { char a; int b; int c; char d; }; struct test s_test;...