[cs631apue] What are these files for? print.c print.h

Jan Schaumann jschauma at stevens.edu
Sat Sep 28 12:43:24 EDT 2019


Brian Jefferson <bjeffer1 at stevens.edu> wrote:
 
> I assumed that we just needed to have multiple
> header files so mine are print.c and options.c

Files ending in .c are not header files.  Header files
end in .h and contain only function prototypes,
macros, etc.

The example on the website is given to illustrate that
you are expected to split the functionality of the
program into multiple files.  You should do that in a
way that makes sense to you, but do retain meaning.

-Jan


More information about the cs631apue mailing list