Suggested Projects

 < Day Day Up > 



  1. Payroll Application: Revisit the Payroll application shown in figure 13-14 in chapter 13. Overload the relational operators for both the HourlyEmployee and Salaried Employee classes. The challenge here will be deciding what attribute in each class to use for the comparison. The comparison could also be the result of a calculation.

  2. Overload IOStream Insertion and Extraction Operators: Using the Payroll application from the previous chapter again, overload the stream insertion and extraction operators to save employees to a file, extract them from a file, and print them to the console.



 < Day Day Up > 



C++ for Artists. The Art, Philosophy, and Science of Object-Oriented Programming
C++ For Artists: The Art, Philosophy, And Science Of Object-Oriented Programming
ISBN: 1932504028
EAN: 2147483647
Year: 2003
Pages: 340
Authors: Rick Miller

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net