Actually, I would #include "B.h" in A.h, so that anywhere you include A.h, it just works without you needing to worry about what headers should be included before it.
I agree.
And since A depends on B, A's files should include B. "one.cpp" depends on A and should only have to include A in order to get everything pertinent to A.
Otherwise you'll have to include all of A's dependencies, and all of those dependency dependencies, et cetera.
_______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.
