Description: Understand master operator overloading, understanding static const member variables and functions. Experiment: (a) Design a class named Date date, the completion date of the basic processing functions. (2) extend the date in the class examples of programming for the Date class adds a member function, you can determine whether a date is the system' s current date. From the keyboard to enter your birthday, if today is your birthday is displayed " HappyBirthday!" , Otherwise " there is your birthday XX days" or " your birthday has passed after XX days next year' s birthday have to wait YY days. " (3) Design a class modeled Date Time class, designing several overloaded constructors, you can set the time for time of addition and subtraction, according to a variety of possible formats output time.
To Search:
File list (Check if you may need any files):
exp3
....\3.dsp
....\3.dsw
....\3.ncb
....\3.opt
....\3.plg
....\Date.cpp
....\Date.h
....\Debug
....\.....\3.exe
....\.....\3.ilk
....\.....\3.pch
....\.....\3.pdb
....\.....\Date.obj
....\.....\main.obj
....\.....\Time.obj
....\.....\vc60.idb
....\.....\vc60.pdb
....\main.cpp
....\Time.cpp
....\Time.h