Hi cilu,

Thanks for your reply. That makes sense to me I think. So if I have all my common functions declared in functions.h and defined and implemented in functions.cpp, can I just use #include "functions.h" in my program.cpp file? Will the functions.h file know to look in the functions.cpp file automatically to find the functions because they have the same name? I'm just using gedit to write up the source files.

Thanks
Aonghas