I really hate to be bothersome with questions, but you guys really seem like nice and helpful people. :) I plan on making a base player class. That class will have sub-classes like Warrior, Wizard, . .and so on. My question is: How are files linked in c++? I am still very new at programming and this is something that is kinda fun for me and I am learning a lot by messing around with it. I just haven't figured out how to get my sub-classes to call my player class. I hope I have explained well what I am asking...sorry for the long winded rant :/.
Typically each class will have its own pair of .h/.cpp files. IE, you'd put the Player class in player.h and the Warrior class in warrior.h, and put their respective function bodies in player.cpp and warrior.cpp