From 0458a2f2fb93abcbf5f400e5eb1121a24e752ae1 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 9 Nov 2020 12:35:58 +0100 Subject: Fixing cpp00/ex01 --- cpp00/ex01/PhoneBook.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp00/ex01/PhoneBook.cpp') diff --git a/cpp00/ex01/PhoneBook.cpp b/cpp00/ex01/PhoneBook.cpp index a28ce36..7ce3df0 100644 --- a/cpp00/ex01/PhoneBook.cpp +++ b/cpp00/ex01/PhoneBook.cpp @@ -6,7 +6,7 @@ /* By: charles +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2020/04/13 07:23:13 by charles #+# #+# */ -/* Updated: 2020/11/09 09:29:37 by cacharle ### ########.fr */ +/* Updated: 2020/11/09 12:33:21 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -36,7 +36,7 @@ std::ostream& operator<<(std::ostream& out, PhoneBook const& p) { for (size_t i = 0; i < p.getSize(); i++) { - out << i << "|"; + out << std::setw(10) << i << "|"; p.get(i).preview(); std::cout << std::endl; } -- cgit