From 675fd26609312063000f58fd3b77b1b8c0a2fd6c Mon Sep 17 00:00:00 2001 From: Raphael Date: Tue, 17 Dec 2024 23:03:26 +0100 Subject: [PATCH] style: correction of the clangd file --- cpp00/ex01/.clangd | 1 + cpp00/ex01/sources/phonebook.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/cpp00/ex01/.clangd b/cpp00/ex01/.clangd index f4ba9f9..ecf9f58 100644 --- a/cpp00/ex01/.clangd +++ b/cpp00/ex01/.clangd @@ -1,4 +1,5 @@ CompileFlags: + Compiler: c++ Add: - "-xc++" - "-std=c++98" diff --git a/cpp00/ex01/sources/phonebook.cpp b/cpp00/ex01/sources/phonebook.cpp index 9387a2b..9636a53 100644 --- a/cpp00/ex01/sources/phonebook.cpp +++ b/cpp00/ex01/sources/phonebook.cpp @@ -6,7 +6,7 @@ /* By: rparodi +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/10/17 15:09:21 by rparodi #+# #+# */ -/* Updated: 2024/10/21 17:13:54 by rparodi ### ########.fr */ +/* Updated: 2024/12/17 23:00:21 by rparodi ### ########.fr */ /* */ /* ************************************************************************** */ @@ -31,6 +31,7 @@ void PhoneBook::searching_header() std::cout << CLR_GREY << "|" << CLR_GOLD << std::setw(10)<< "Nickname" << CLR_RESET; std::cout << CLR_GREY << "|" << CLR_RESET << std::endl; } + void PhoneBook::search() { unsigned long long chosen;