Hi everyone, i'm using dev c++ 22.214.171.124. I have an application wich is compose by four files:
In main.c file, i want to call some functions wich are located in TIFFheader.c. Also i've defined a user data type in TIFFheader.h that i want to use from main.c archive. For doing it, i include TIFFheader.h in main.c. In TIFFheader.c, i need to include TIFFheader.h too, because in this file i declare some useful constants, structures and all functions wich belong to TIFFheader.c. When i do that, i keep getting the error constants and structures were defined twice. So, how can i do to call functions, use structures and constants, from main.c and do it from TIFFheader.c too, without this error?