This commit is contained in:
Arkadiusz Hypki 2024-11-22 10:43:20 +01:00
parent 40187d0571
commit acdcd6feb9
2 changed files with 5 additions and 6 deletions

View File

@ -10,8 +10,7 @@
namespace lib {
Employee::Employee() {
// TODO Auto-generated constructor stub
this->setPesel(0);
}
Employee::Employee(int pesel) {

View File

@ -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);