Etudes/BTS/C++/polymorphismeCours/BarreCarree.h
2016-10-14 17:52:18 +02:00

22 lines
443 B
C++

#ifndef BARRECARREE_H_INCLUDED
#define BARRECARREE_H_INCLUDED
#include "Barre.h"
class BarreCarree : public Barre
{
private:
float cote;
public:
BarreCarree(const float _densite, const float _longueur, const string _referenceBar, const float _cote);
BarreCarree();
BarreCarree(const BarreCarree &barreCarree);
~BarreCarree();
float calculerMasse();
float calculerSection();
};
#endif // BARRECARREE_H_INCLUDED