diff --git a/ex5-library/src/Employee.cpp b/ex5-library/src/Employee.cpp index f1a7707..37afa11 100644 --- a/ex5-library/src/Employee.cpp +++ b/ex5-library/src/Employee.cpp @@ -10,8 +10,7 @@ namespace lib { Employee::Employee() { - // TODO Auto-generated constructor stub - + this->setPesel(0); } Employee::Employee(int pesel) { diff --git a/ex5-library/src/main.cpp b/ex5-library/src/main.cpp index 71068a5..c80ec40 100644 --- a/ex5-library/src/main.cpp +++ b/ex5-library/src/main.cpp @@ -16,10 +16,10 @@ using namespace std; int main() { std::cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!! - lib::Employee e = lib::Employee(); - - if (e.validate()) - cout << "pesel of employee" << e.getPesel(); +// lib::Employee e = lib::Employee(); +// +// if (e.validate()) +// cout << "pesel of employee" << e.getPesel(); lib::Librarian l = lib::Librarian(); l.setPesel(2000000000);