COMPTE RENDU DE
PROGRAMMATION C/C++
TP3 : PROGRAMMATION
ORIENTEE OBJET C++
(HERITAGE)
Réalisé par : HERMI YASSINE
BAGGA YASSER
Filière :IIA 3
Groupe : 1
Année universitaire : 2020/2021
I)Objectif du TP :
L’objectif du TP est de bien maîtriser la notion de
l’héritage simple.
II) Exercice 1 :
1)Chaine.h :
2)Chaine.cpp :
3)Chaine_T.h :
4)Chaine_T.cpp :
5)Main.cpp :
III) Exercice 2 :
1)Compte.h :
2)Compte.cpp :
3)CompteEpargne.h :
4)CompteEpargne.cpp :
5)Main.cpp :
IV) Exercice 3 :
1)Employe.h :
2)Employe.cpp :
3)Responsable.h :
4)Responsable.cpp :
5)Main.cpp :