Etudes/BTS/C++/polymorphismeCours/BarreRonde.h

22 lines
437 B
C
Raw Permalink Normal View History

2016-10-14 15:52:18 +00:00
#ifndef BARRERONDE_H_INCLUDED
#define BARRERONDE_H_INCLUDED
#include "Barre.h"
class BarreRonde : public Barre
{
private:
float rayon;
public:
BarreRonde(const float _densite, const float _longueur, const string _referenceBarre, const float _rayon);
BarreRonde(const BarreRonde &barreRonde);
BarreRonde();
~BarreRonde();
float calculerMasse();
float calculerSection();
};
#endif // BARRERONDE_H_INCLUDED