• Question about structs and unions
    Hello there, I've faced a problem that I couldn't solve. I hope you people can help me. I want to memcpy to a struct the datum in an array. I've done it before, and it goes like this: memcpy...
  • Question about structs and unions
    Hello there, I've faced a problem that I couldn't solve. I hope you people can help me. I want to memcpy to a struct the datum in an array. I've done it before, and it goes like this: memcpy...
  • Extern struct
    Hi all: I am trying to use data from a structure in different modules ( extern struct), with no success. Here's what I am doing: main.c: #include "main.h" struct my_struct new_struct; void...
  • Extern STRUCT..
    Hi, I have a big problem. I have a multyple file included into the project, and in the main.c i've declared a struct like this: struct{ unsigned char x; unsigned char y; unsigned char z; }prova;...
  • Extern struct
    Hi all: I am trying to use data from a structure in different modules ( extern struct), with no success. Here's what I am doing: main.c: #include "main.h" struct my_struct new_struct; void...