Tool/software: Code Composer Studio
Hey,
I am create a one project in this project bundle of C source file and I have create one structure header file in this header file I have structure defined and initialization but we require include a same header file in different source file how is it possible?
Ex
f. h
struct student {
int max;
int min;
}stu={.max=10,.min=20};
now I will use this structure in both file like this
#include <a. c>
#include "f. h
Another like
#include <b. c>
#include "f. h
But redefined error how to solve we will compulsory use in both the file ifdef something else I will try pls suggest me another option.