We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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;
My problem is, how can i use this struct on other file included? ("extern struct.... not work"). The compiler return error L6200E. Help me,Thanks!.
Easy - check C programming books about using data types. And how to use header files (#include) to let the different C files know about your data types and global variables.