• Double pointer as parameter doesn't work with typedef
    I am trying to pass a pointer by reference to a function and get that function to point my pointer at a structure that it finds. char get_structure(STRUCTURE **ptr) { if(foundstructure) { *ptr...
  • Double pointer as parameter doesn't work with typedef
    I am trying to pass a pointer by reference to a function and get that function to point my pointer at a structure that it finds. char get_structure(STRUCTURE **ptr) { if(foundstructure) { *ptr...
  • Problem with updating/reading Structure pointer member using functions
    Hi everyone, I want to update a structure member using a function and read it in other functions; anyone helpp? typedef struct { uint32_t Update; }StructUpdate; StructUpdate Objstr, *Objstrpoint...
  • Problem with updating/reading Structure pointer member using functions
    Hi everyone, I want to update a structure member using a function and read it in other functions; anyone helpp? typedef struct { uint32_t Update; }StructUpdate; StructUpdate Objstr, *Objstrpoint...
  • Accessing structure pointer members
    Hi all, For some reason, I cannot access the structure members if I use struct pointers. eg: typedef struct { int member1; }structure_t; structure_t structure, *structure_ptr; int...