1) Create a member variable. To hold the weapon.
class CPlayer{
private:
Sprite weapon;
//...
}
Now create a get and set function for the weapon :
void setWeapon(const Sprite& aWeapon){
weapon = aWeapon;
}
Weapon getWeapon()const{
return weapon;
}
Now you need position the weapon and use it accordingly.