26 lines
426 B
C++
26 lines
426 B
C++
//
|
|
// Created by Victor Le Roch on 20/05/2020.
|
|
//
|
|
|
|
#ifndef BE_TORTUE_H
|
|
#define BE_TORTUE_H
|
|
|
|
#include <string>
|
|
|
|
class Tortue{
|
|
private:
|
|
std::string nom;
|
|
int naissance;
|
|
std::string sexe;
|
|
public:
|
|
Tortue(const std::string &nom, const std::string &sexe);
|
|
|
|
const std::string &getNom() const;
|
|
|
|
int getNaissance() const;
|
|
int getAge() const;
|
|
|
|
const std::string &getSexe() const;
|
|
};
|
|
|
|
#endif //BE_TORTUE_H
|