i got this error
multiple definition of `login::GetEventHashTable() const’
can anybody tell me, when it occour…
i got this error multiple definition of `login::GetEventHashTable() const’ can anybody tell me, when
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
as my experience said, it is happening because of multiplicity of same header files
write
ifndef HANDLER_H_
define HANDLER_H_
at the top(u can change the header file name, i have handler.h
and
endif
at the bottom of any header file