diff --git a/Person.cpp b/Person.cpp new file mode 100644 index 0000000..461752b --- /dev/null +++ b/Person.cpp @@ -0,0 +1,10 @@ +#include +#include "Person.h" + +Person::Person(string name, string password, string email, string phoneNo) + { + this->name = name; + this->password = password; + this->email = email; + this->phoneNo = phoneNo; + } diff --git a/Person.h b/Person.h new file mode 100644 index 0000000..05a29a9 --- /dev/null +++ b/Person.h @@ -0,0 +1,14 @@ +#include +#include +using namespace std; + +class Person +{ + string name; + string password; + string email; + string phoneNo; + + public : + Person(string, string, string, string); +}; diff --git a/database.txt b/database.txt index 6a9adce..4fd04c9 100644 --- a/database.txt +++ b/database.txt @@ -1,3 +1,4 @@ binhonglee bhlee03655 binhonglee@hotmail.com +13479618886 +binhong binhong binhong@binhong.me +14802527013