Add files via upload
This commit is contained in:
commit
e1694a698d
7 changed files with 346 additions and 0 deletions
22
cpp00/ex01/phonebook.cpp
Normal file
22
cpp00/ex01/phonebook.cpp
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* phonebook.cpp :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/09/20 19:50:03 by rparodi #+# #+# */
|
||||
/* Updated: 2024/09/20 19:50:51 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "phonebook.h"
|
||||
|
||||
void contact::print(void) {
|
||||
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 << "ID:" << id << std::endl;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue