Skip to content

Commit 6bc36e6

Browse files
authored
Update Display.cpp
1 parent 6ab423d commit 6bc36e6

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

sources/Display.cpp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33

44
namespace Manage
55
{
6-
string delimiter = "******************************************************************************************************************************************************************************************************************";
6+
string delimiter = "*****************************************************************************************************************************************************************************************************";
77

88
void display_header_table()
99
{
1010
cout.fill(' ');
1111
cout << setw(5) << "Id"
12-
<< setw(25) << "Nom"
13-
<< setw(25) << "Prenom"
12+
<< setw(20) << "Nom"
13+
<< setw(20) << "Prenom"
1414
<< setw(6) << "Sexe"
1515
<< setw(10) << "Entre"
1616
<< setw(6) << "Stat"
1717
<< setw(5) << "Num"
18-
<< setw(40) << "Rue"
18+
<< setw(30) << "Rue"
1919
<< setw(15) << "Compl"
2020
<< setw(6) << "C_P"
2121
<< setw(20) << "Ville"
@@ -49,13 +49,13 @@ namespace Manage
4949
cout.fill(' ');
5050

5151
cout << setw(5) << contact_prive->get_identifiant()
52-
<< setw(25) << contact_prive->get_nom()
53-
<< setw(25) << contact_prive->get_prenom()
52+
<< setw(20) << contact_prive->get_nom()
53+
<< setw(20) << contact_prive->get_prenom()
5454
<< setw(6) << contact_prive->get_sexe()
5555
<< setw(10) << " "
5656
<< setw(6) << " "
5757
<< setw(5) << contact_prive->get_adressePostale()->get_numero()
58-
<< setw(40) << contact_prive->get_adressePostale()->get_rue()
58+
<< setw(30) << contact_prive->get_adressePostale()->get_rue()
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()
@@ -73,13 +73,13 @@ namespace Manage
7373
}
7474
cout.fill(' ');
7575
cout << setw(5) << contact_prof->get_identifiant()
76-
<< setw(25) << contact_prof->get_nom()
77-
<< setw(25) << contact_prof->get_prenom()
76+
<< setw(20) << contact_prof->get_nom()
77+
<< setw(20) << 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()
8181
<< setw(5) << contact_prof->get_adressePostale()->get_numero()
82-
<< setw(40) << contact_prof->get_adressePostale()->get_rue()
82+
<< setw(30) << contact_prof->get_adressePostale()->get_rue()
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()

0 commit comments

Comments
 (0)