bert.WPI.EDU> cat test.C // file test.C, cs2223, D97/98 // // program which demonstrates the use of the Timer class // 20Feb98 NW, First version // includes #include "Timer.h" // main int main () { Timer *timeit = new Timer(); for (int i = 0; i < 10000000; i++); // waste some time delete timeit; return 0; } // end main() // Copyright 1998 Norman Wittels bert.WPI.EDU> g++ test2.C collect2: ld returned 1 exit status /usr/bin/ld: Unresolved: Timer::Timer(void) Timer::~Timer(void) /***** this was because we forgot to include ALL of the source code *****/ bert.WPI.EDU> g++ test2.C Timer.C bert.WPI.EDU> a.out Process 0 took 0.449982 seconds