Header files included in header files
From: John Smith (soneone_at_microsoft.com)
Date: 07/21/04
- Next message: S!mb_at_: "Re: how to delete a character in a file ?"
- Previous message: Raza S. Ali: "Networking Question"
- Next in thread: Christian Bau: "Re: Header files included in header files"
- Reply: Christian Bau: "Re: Header files included in header files"
- Reply: Emmanuel Delahaye: "Re: Header files included in header files"
- Reply: E. Robert Tisdale: "Re: Header files included in header files"
- Reply: John Smith: "Re: Header files included in header files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 21 Jul 2004 08:39:28 +0100
Hi all
What does the group think of the practise of including one header file from
inside another?
I have some legacy code where this has been done, and it creates a
dependency on a module (collection of files) which are not required, except
for one header file's contents.
I'd say 'No, header files should be included in the C source, not in another
header', but I've always come across strong arguments for the latter.
What do you think, and what is accepted practise?
Thanks
JS
- Next message: S!mb_at_: "Re: how to delete a character in a file ?"
- Previous message: Raza S. Ali: "Networking Question"
- Next in thread: Christian Bau: "Re: Header files included in header files"
- Reply: Christian Bau: "Re: Header files included in header files"
- Reply: Emmanuel Delahaye: "Re: Header files included in header files"
- Reply: E. Robert Tisdale: "Re: Header files included in header files"
- Reply: John Smith: "Re: Header files included in header files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|