Description: 2. Since the date of the definition of a simple class DateType, it has a data member y, m, d, is used to indicate the current date of the year, month, day. And then design the class is to be achieved (completed) functions, and then design the appropriate class member functions. For example, the following is given a " prototype" can be used to realize an increase in days to compare two dates are equal, and the output of the date of such an operation. Please complete the various forms of membership functions, and the preparation of the main function, indicating DateType class objects, the definition of the various members of the function call to verify their correctness.
To Search:
- [any2icon] - All types of icons are, for the developm
File list (Check if you may need any files):
datatype.cpp