See also: FAQ > How do I... (Level 2) > Multiple source files for one program (C++ example).

This, too, is probably worth a read.