I'm working on a fairly simple C program with a main file, vector.c, vector.h, but I'm running into these issues:
- where do I put the include for a .h file if the declarations it provides are needed in both c files?
- where do I put typedefs needed in all 3 files?
seems like gcc complains no matter what I do.
Can anyone answer these questions, or point me toward a resource I can read?