weird errorThank you very much for the pointers, I know I've overdone it with the comments at the moment but it...
weird errorAs I said this weirdness only happens when I run this as separate files if I move the functions back...
weird errorfunctions.h [code] using namespace std; ...
weird errorfunctions.cpp [code] #include <iostream> ...
weird errormain.cpp - forgive me is this is not very elegant I'm only about 10-12hrs in c/c++ [code] #include ...