1
0

」 feat(Phonebook): normally finished 👍

This commit is contained in:
2024-11-03 18:52:08 +01:00
parent c7187f972e
commit 1c5639df7b
8 changed files with 186 additions and 31 deletions

View File

@ -6,7 +6,7 @@
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/10/26 00:41:10 by adjoly #+# #+# */
/* Updated: 2024/10/31 12:37:10 by adjoly ### ########.fr */
/* Updated: 2024/11/03 18:19:21 by adjoly ### ########.fr */
/* */
/* ************************************************************************** */
@ -14,9 +14,20 @@
#include "Contact.hpp"
#define uint8_t unsigned char
class PhoneBook {
private:
Contact _contact[8];
public:
uint8_t _index;
void _add(void);
void _search(void);
/* Search internal function */
void __printContacts(void);
std::string __formatstr(std::string str);
void __printContact(uint8_t index);
public:
PhoneBook(void);
};