update: adding colors and the debug mode

This commit is contained in:
Raphael 2024-10-15 00:15:21 +02:00
parent ce42218b88
commit 9d476992bc
5 changed files with 55 additions and 20 deletions

View file

@ -6,18 +6,22 @@
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/20 19:50:03 by rparodi #+# #+# */
/* Updated: 2024/10/14 18:52:45 by rparodi ### ########.fr */
/* Updated: 2024/10/15 00:13:03 by rparodi ### ########.fr */
/* */
/* ************************************************************************** */
#include "phonebook.hpp"
#include <iostream>
void contact::print(void) {
void contact::print(void) {
std::cout << GREY;
std::cout << "Creation Hour:" << creation_time << std::endl;
std::cout << "First Name:" << first_name << std::endl;
std::cout << "Last Name:" << last_name << std::endl;
std::cout << "Nickname:" << nickname << std::endl;
std::cout << "Number:" << number << std::endl;
std::cout << "Dark Secret:" << dark_secret << std::endl;
std::cout << "ID:" << id << std::endl;
std::cout << RESET;
}