Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode Windows Develop
Title: Lab7_3 Download
 Description: Define a Date class to meet the following requirements: data members: year, month, day member functions: 1, constructors, Date (int y = 2012, int m = 1, int d = 1) 2, the date in the following format output : day/month/year void Display () 3, can be run on the date plus one day operate void AddOneDay () 4, to set the date void SetDay (int y, int m, int d) 5, destructor, in wherein the output " destructor." Writing the main function, define the object, call the AddOneDay () function, calling the output function Display (), output date. Then, call the function to set the date, set to February 28, 2012, and then call AddOneDay () function, calling the output function Display (), output date.
 Downloaders recently: [More information of uploader 郑秋凯]
 To Search:
File list (Check if you may need any files):
 

Lab7_3.cpp
    

CodeBus www.codebus.net