Question on HW1


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]

Posted by An Nguyen on July 06, 2000 at 23:17:55:


If I put function "square_root_5" in
"goldenratio.cpp", "goldenratio.cpp"
doesn't need to include "goldenratio.h".
However, if function "square_root_5" is put in
"goldenratio.h" then "goldenratio.cpp"
needs to have the header file "goldenratio.h".
So my queston is in order to minimize the "include",
should I take the first choice??
Thanks


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS1704 Discussion WWWBoard ] [ FAQ ]