    01: /****************************************************************************
    02: ** COPYRIGHT (C):    1998 Cay S. Horstmann. All Rights Reserved.
    03: ** PROJECT:          Computing Concepts with C++ 2E
    04: ** FILE:             employee.cpp
    05: ** NOTE TO STUDENTS: This file has been edited to be compatible with older
    06: ** compilers. If your compiler fully supports the ANSI/ISO C++
    07: ** standard, remove the line #include "ccc_ansi.cpp". You can also remove
    08: ** the lines #ifndef CCC_ANSI_H and #endif
    09: ****************************************************************************/
    10:
    11:    #include "ccc_ansi.cpp"
    12:    #ifndef CCC_ANSI_H
    13:
    14: #include <iostream>
    15:
    16: using namespace std;
    17:
    18:    #endif
    19:
    20: #include "ccc_empl.cpp"
    21:
    22: int main()
    23: {  Employee harry("Hacker, Harry", 45000.00);
    24:
    25:    double new_salary = harry.get_salary() + 3000;
    26:    harry.set_salary(new_salary);
    27:
    28:    cout << "Name: " << harry.get_name() << "\n";
    29:    cout << "Salary: " << harry.get_salary() << "\n";
    30:
    31:    return 0;
    32: }