// // Representant.hpp // Entreprise // // Created by vlaurain on 06/03/2018. // Copyright © 2018 vlaurain. All rights reserved. // #ifndef Representant_hpp #define Representant_hpp #include "commerciaux.hpp" class Representant:public commerciaux{ protected: int nb_dep; public: Representant(); Representant(string unnom,string unprenom, int unage,int n,int nd): commerciaux(unnom,unprenom,unage,n),nb_dep(nd){}; virtual ~Representant();//inutile autre que pedagogiquement virtual float calcule_salaire() const; virtual void affiche() const; }; #endif /* Representant_hpp */