Skip to content

Commit 34cd314

Browse files
authored
Update Display.cpp
1 parent 1016638 commit 34cd314

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

sources/Display.cpp

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ namespace Manage
99
{
1010
cout.fill(' ');
1111
cout << setw(5) << "Id"
12-
<< setw(30) << "Nom"
13-
<< setw(30) << "Prenom"
12+
<< setw(25) << "Nom"
13+
<< setw(25) << "Prenom"
1414
<< setw(6) << "Sexe"
1515
<< setw(10) << "Entre"
1616
<< setw(6) << "Stat"
@@ -19,7 +19,7 @@ namespace Manage
1919
<< setw(15) << "Compl"
2020
<< setw(6) << "C_P"
2121
<< setw(20) << "Ville"
22-
<< setw(14) << "Date Naiss"
22+
<< setw(11) << "Date Naiss"
2323
<< setw(30) << "Email"
2424
<< endl;
2525
}
@@ -49,8 +49,8 @@ namespace Manage
4949
cout.fill(' ');
5050

5151
cout << setw(5) << contact_prive->get_identifiant()
52-
<< setw(30) << contact_prive->get_nom()
53-
<< setw(30) << contact_prive->get_prenom()
52+
<< setw(25) << contact_prive->get_nom()
53+
<< setw(25) << contact_prive->get_prenom()
5454
<< setw(6) << contact_prive->get_sexe()
5555
<< setw(10) << " "
5656
<< setw(6) << " "
@@ -59,7 +59,7 @@ namespace Manage
5959
<< setw(15) << contact_prive->get_adressePostale()->get_complement()
6060
<< setw(6) << contact_prive->get_adressePostale()->get_code_postale()
6161
<< setw(20) << contact_prive->get_adressePostale()->get_ville()
62-
<< setw(14) << format_date(contact_prive)
62+
<< setw(11) << format_date(contact_prive)
6363
<< setw(30) << " "
6464
<< endl;
6565
}
@@ -73,8 +73,8 @@ namespace Manage
7373
}
7474
cout.fill(' ');
7575
cout << setw(5) << contact_prof->get_identifiant()
76-
<< setw(30) << contact_prof->get_nom()
77-
<< setw(30) << contact_prof->get_prenom()
76+
<< setw(25) << contact_prof->get_nom()
77+
<< setw(25) << contact_prof->get_prenom()
7878
<< setw(6) << contact_prof->get_sexe()
7979
<< setw(10) << contact_prof->get_entreprise()
8080
<< setw(6) << contact_prof->get_statut()
@@ -83,7 +83,7 @@ namespace Manage
8383
<< setw(15) << contact_prof->get_adressePostale()->get_complement()
8484
<< setw(6) << contact_prof->get_adressePostale()->get_code_postale()
8585
<< setw(20) << contact_prof->get_adressePostale()->get_ville()
86-
<< setw(14) << " "
86+
<< setw(11) << " "
8787
<< setw(30) << contact_prof->get_email() << endl;
8888
}
8989

0 commit comments

Comments
 (0)