Thread: 1 error
View Single Post
Old 05-29-2009, 08:00 PM   #3 (permalink)
effective
Registered User
 
Join Date: May 2009
Posts: 6
OS: 2


Re: 1 error

Quote:
Originally Posted by jamiemac2005 View Post
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.
Not correct
effective is offline   Reply With Quote