|
quote:
originally posted by octal
just make it so they both include file2.h, and #include <stdio.h> in file2.h.
you could do, but you don't need to put every include file under the sun in file2.h, only put include files required to support the types used in file2.h.
typically you have an include file common to the project which includes all the include files required by most files and common types.
typically with unix you try and include the minimum number of include files you need to support your project, where as on windows, windows.h includes almost everything you could think of.
|