Etudes/BTS/C++/polymorphismeCours/main.cpp

18 lines
271 B
C++
Raw Normal View History

2016-10-14 15:52:18 +00:00
#include <iostream>
#include "TableBarres.h"
#include "BarreRonde.h"
using namespace std;
int main()
{
TableBarres *tableBarre = new TableBarres(10);
tableBarre->add(new BarreRonde(6.2, 5, "coucou", 3));
tableBarre->AfficherCatalogue();
return 0;
}