Case Study: A Date Class









Figure 3.22: Date class definition with overloaded increment operator.
\includegraphics[scale=0.45]{figures/img8.60.ps}
\includegraphics[scale=0.45]{figures/img8.61.ps}
Figure 3.23: 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 3.24: 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 3.25: Date class member-and friend-function definition. (part 3 of 3)
\includegraphics[scale=0.45]{figures/img8.66.ps}
Figure 3.26: Date class test program.
\includegraphics[scale=0.45]{figures/img8.67.ps}
\includegraphics[scale=0.45]{figures/img8.68.ps}
Figure 3.27: Date class test program, output.
\includegraphics[scale=0.45]{figures/img8.69.ps}
2004-07-29