After reading this thread, I have to clarify something and ask a new question. I said in the first post that I included header.c in header.h only because it didn't compile. It was a beginner workaround. Arndt clarified that I should not do that and offered me an alternative solution. I don't include header.c in header.h anymore.
I have to ask you - which solution is considered best practice? The one offered by Arndt (in which header.h is not included in header.c) or the one in which header.h is included in both header.c and main.c? Sorry for the being insistent but as I said before, the book I am following only hints at this stuff.
Bookmarks