Hey, not much of a C++ guy myself, but i think i have your answer(If i'm wrong, tell me so):
Your Secretary method has no return type... Should it?
something like:
Code:
void Secretary(char n[len],long int id, double s,contract c)
Basically, i can see how that would lead the compiler to not registering it as a function/method if it lacks a return type.
Cheers,
Jamey
p.s. it could also be that you have the same identifier name for a class and a public method. But again, i'm not certain.