⚲
Projet
Général
Profil
Connexion
S'enregistrer
Accueil
Projets
Aide
Recherche
:
2021_tournoi_pingpong
Tous les projets
2021_tournoi_pingpong
Aperçu
Activité
Demandes
Gantt
Annonces
Documents
Wiki
Fichiers
Dépôt
Télécharger (1,07 ko)
Publication de fichiers
» joueur.hpp
Anonyme, 11/01/2022 10:42
#ifndef _JOUEUR_HPP_
#define _JOUEUR_HPP_
#include
<iostream>
using
namespace
std
;
class
Joueur
{
private:
//attributs
string
m_numLicence
;
string
m_nom
;
string
m_prenom
;
int
m_point
;
// c'est son score total lors du tournois qui est mis a jour apr�s un match
int
m_poule
;
// numero de poule
int
m_ecart
;
// les ecarts qu'il a mis entre ses adversaires
public:
//constructeur
Joueur
(
string
numLicence
=
0
,
string
nom
=
NULL
,
string
prenom
=
NULL
,
int
point
=
0
,
int
ecart
=
0
,
int
poule
=
0
);
//methodes
void
setnom
(
string
nom
);
void
setprenom
(
string
prenom
);
void
setnumLicence
(
string
numLicence
);
string
getnumLicence
();
string
getm_nom
();
string
getm_prenom
();
int
getPoint
();
void
setPoint
(
int
s
);
int
getEcart
();
void
setEcart
(
int
s
);
int
getPoule
();
void
setPoule
(
int
s
);
string
afficher
()
const
;
};
#endif
« Précédent
1
2
3
4
…
7
Suivant »
(2-2/7)
Chargement...