CSc 335
Project 1 FAQ

  1. Should I ever #include my *.cc or *.cpp files? Or just the *.h files?

    Just the header (*.h) files. Never include the implementation files. C++ knows they exist because (1) the files need to have the same base name (i.e. Blah.h must have an implementation file named Blah.cc or Blah.cpp) and (2) you've included these files as part of Makefile.common.


FAQ index