yea
I declared a struct on the header file called "entity", with a typedef.
entity.h
I created a new file called "entity.c", with the methods thinking a data encapsulation
entity.c
But when I use in my main.c, the #include doesn't work and the compiler shows an error of syntax (it doesn't find any struct called entity) and it returns some warnings about the implicit declaration of functions. I can't find where is the problem, because the entity.h is declared.
main.c
GCC Warnings and Errors
What exactly is the problem, since I declared the header file?