Hey everyone! This is my first post in these forums so hello to all of you! :).
I'm a newcomer to c++ and I've been having problems with seperating class declarations and implementations into seperate source files. I'm using the eclipse IDE. Every time I put a declaration of the class in a header file and the implementation in a .cpp file I always get this kind of error.
'duplicate symbol player::player()in ./src/player.o and ./src/Fight LOL.'
I think I'm doing something wrong. If so can any of you pinpoint what I'm doing wrong?
Ahh thanks guys. I can't believe it was such a simple mistake. I'll look into why it should be headers only and work out what was up. But cheers very much people :)!