clean: remove trash file
This commit is contained in:
parent
2a1dc87ca0
commit
44eec651e0
@ -1,17 +0,0 @@
|
|||||||
#include <string>
|
|
||||||
#include <iostream>
|
|
||||||
|
|
||||||
class Contact {
|
|
||||||
private:
|
|
||||||
std::string first_name;
|
|
||||||
std::string last_name;
|
|
||||||
std::string nickname;
|
|
||||||
std::string phone_number;
|
|
||||||
std::string darkest_secret;
|
|
||||||
|
|
||||||
public:
|
|
||||||
Contact(std::string first_name, std::string last_name, std::string nickname, std::string phone_number, std::string darkest_secret);
|
|
||||||
|
|
||||||
std::string to_string_partial() const;
|
|
||||||
std::string to_string_complete() const;
|
|
||||||
};
|
|
@ -1,17 +0,0 @@
|
|||||||
#include "Contact.hpp"
|
|
||||||
#include <cstddef>
|
|
||||||
|
|
||||||
class PhoneBook {
|
|
||||||
private:
|
|
||||||
Contact *contacts[8];
|
|
||||||
|
|
||||||
public:
|
|
||||||
size_t len;
|
|
||||||
|
|
||||||
PhoneBook();
|
|
||||||
~PhoneBook();
|
|
||||||
|
|
||||||
void add_contact(Contact *new_contact);
|
|
||||||
void display_contacts();
|
|
||||||
Contact* search(int index);
|
|
||||||
};
|
|
@ -1,3 +0,0 @@
|
|||||||
#include <string>
|
|
||||||
|
|
||||||
std::string truncated(const std::string str);
|
|
Loading…
Reference in New Issue
Block a user