Header files and modules

Last part of the final project (due tomorrow): put all the modules (four of them) into a header file. I'm looking for a tutorial or something of that nature to no avail. What exactly is supposed to go into this header file? Do I just put function prototypes in it or is the entire definition supposed to be in the header file? Our text doesn't even mention them.

This part is extra credit, but I'm so frustrated by this course that I'm doing this just to stick it to the teacher. Whoever can answer this for me would do for me the mother of all favors.
Put declarations (prototypes) in headers, leave definition in cpp files. Include headers where needed. Do not forget to add cpp files to your compile list.
Last edited on
Topic archived. No new replies allowed.