Case Study: A Date Class









Figure 11: Date class definition with overloaded increment operator.
\includegraphics[scale=0.45]{figures/img8.60.ps}
\includegraphics[scale=0.45]{figures/img8.61.ps}
Figure 12: Date class member-and friend-function definition. (part 1 of 3)
\includegraphics[scale=0.45]{figures/img8.62.ps}
\includegraphics[scale=0.45]{figures/img8.63.ps}
Figure 13: Date class member-and friend-function definition. (part 2 of 3)
\includegraphics[scale=0.45]{figures/img8.64.ps}
\includegraphics[scale=0.45]{figures/img8.65.ps}
Figure 14: Date class member-and friend-function definition. (part 3 of 3)
\includegraphics[scale=0.45]{figures/img8.66.ps}
Figure 15: Date class test program.
\includegraphics[scale=0.45]{figures/img8.67.ps}
\includegraphics[scale=0.45]{figures/img8.68.ps}
Figure 16: Date class test program, output.
\includegraphics[scale=0.45]{figures/img8.69.ps}
2004-07-15