custom header files

From: Jared (jgivens_at_tpg.com.au)
Date: 01/13/04


Date: 12 Jan 2004 23:29:13 -0800

Hi,

Can someone explain the basic structure of a header file? I just
completed a introductory C programming class. The course stressed
structured programming and creating reusable code. We learned to use
functions and to create our own. The problem is we never learned to
place them in header files. To me, and obviously, I'm not that
experienced with C, it would be better to place user created functions
in separate header files instead of in the main .c source code file,
right? At any rate, I would greatly appreciate it if someone could
explain this to me.

thanks in advance,
Jared



Relevant Pages

  • custom header files
    ... Can someone explain the basic structure of a header file? ... completed a introductory C programming class. ... structured programming and creating reusable code. ... in separate header files instead of in the main .c source code file, ...
    (comp.lang.c)
  • Re: custom header files
    ... > completed a introductory C programming class. ... > structured programming and creating reusable code. ... > in separate header files instead of in the main .c source code file, ...
    (comp.lang.c)
  • Re: custom header files
    ... > completed a introductory C programming class. ... > in separate header files instead of in the main .c source code file, ... related to the compiler, not the language, so is off-topic here. ...
    (comp.lang.c)