'Backup'
This commit is contained in:
parent
40187d0571
commit
acdcd6feb9
@ -10,8 +10,7 @@
|
|||||||
namespace lib {
|
namespace lib {
|
||||||
|
|
||||||
Employee::Employee() {
|
Employee::Employee() {
|
||||||
// TODO Auto-generated constructor stub
|
this->setPesel(0);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Employee::Employee(int pesel) {
|
Employee::Employee(int pesel) {
|
||||||
|
@ -16,10 +16,10 @@ using namespace std;
|
|||||||
int main() {
|
int main() {
|
||||||
std::cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
|
std::cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!!
|
||||||
|
|
||||||
lib::Employee e = lib::Employee();
|
// lib::Employee e = lib::Employee();
|
||||||
|
//
|
||||||
if (e.validate())
|
// if (e.validate())
|
||||||
cout << "pesel of employee" << e.getPesel();
|
// cout << "pesel of employee" << e.getPesel();
|
||||||
|
|
||||||
lib::Librarian l = lib::Librarian();
|
lib::Librarian l = lib::Librarian();
|
||||||
l.setPesel(2000000000);
|
l.setPesel(2000000000);
|
||||||
|
Loading…
Reference in New Issue
Block a user