Commit 11926830eba9aa48279f22794102f159fb510fc9

Authored by Grzegorz Jabłoński
1 parent 26cfc9af

Made Employee and Manager of different sizes

examples07/01-employee/employee1.cpp
... ... @@ -9,7 +9,7 @@ class Employee
9 9 {
10 10 string name;
11 11 char middle_initial;
12   - short department;
  12 + long department;
13 13 public:
14 14 Employee (const string & n, int dept):name (n), department (dept)
15 15 {
... ...
examples07/01-employee/employee2.cpp
... ... @@ -9,7 +9,7 @@ class Employee
9 9 {
10 10 string name;
11 11 char middle_initial;
12   - short department;
  12 + long department;
13 13 public:
14 14 Employee (const string & n, int dept):name (n), department (dept)
15 15 {
... ...