Add files via upload
This commit is contained in:
commit
e1694a698d
7 changed files with 346 additions and 0 deletions
30
cpp00/ex01/phonebook.h
Normal file
30
cpp00/ex01/phonebook.h
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* phonebook.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: rparodi <rparodi@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/09/20 18:59:14 by rparodi #+# #+# */
|
||||
/* Updated: 2024/09/20 20:03:43 by rparodi ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef PHONEBOOK_H
|
||||
#define PHONEBOOK_H
|
||||
|
||||
#include <iostream>
|
||||
#include <string>
|
||||
|
||||
class contact {
|
||||
public:
|
||||
int id;
|
||||
std::string number;
|
||||
std::string first_name;
|
||||
std::string last_name;
|
||||
std::string nickname;
|
||||
|
||||
void print(void);
|
||||
};
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue