comp.lang.c
[Top] [All Lists]

Re: best way to manage the headers..

Subject: Re: best way to manage the headers..
From: broli
Date: Fri, 28 Mar 2008 20:22:19 -0700 PDT
Newsgroups: comp.lang.c

 Thad Smith said :
> There are several approaches to handle this.  What you have is a good
> start, assuming that vector.h requires math.h and reader.h requires stdio.h
> and stdlib.h (are you using size_t as a parameter type?).
>
> If a module uses stdio.h, simply include it, even though it is also
> included from reader.h.
>

Wouldn't this approach cause redundancy ?



<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy