Thread: 1 error
View Single Post
Old 05-29-2009, 09:49 AM   #2 (permalink)
jamiemac2005
Design Team Member
 
jamiemac2005's Avatar
 
Join Date: Jul 2007
Location: Coventry, UK
Posts: 1,884
OS: Vista, various linux distros


Re: 1 error

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.
__________________

Myspace

Last edited by jamiemac2005; 05-29-2009 at 09:51 AM.
jamiemac2005 is offline   Reply With Quote