Well, I don't think there is a way to avoid including your
'superchief-include-file', since the compiler must get it's definitions
somewhere.
On the other hand, putting all possible includes is not very nice, certainly
not in bigger projects: 1 change in some include file makes a full
recompilation necessary, since the compiler can no longer see the
dependencies.
Jürgen Devlieghere
"superchief" <su********@discussions.microsoft.com> wrote in message
news:F1**********************************@microsof t.com...
I have a simple vc++ win32 program. I have one header that has a list of
all
the other header files in it. In each of the .cpp files i make a referance
to
this main header. is there a way of getting around this, so i only have to
make one header (listing all the includes i ever would like in the
program)
and then reference this once in one main file somewhere?
I am a bit new to the c++ compiler so this doesn't appear to be obvious to
me.
Thanks for your help