Your date class has 2 constructors. The first takes no arguments (default constructor) and sets an object to Jan 1, 2000. The second constructor takes 3 arguments and creates a date from them. You can create a date object with either of the following lines:
1 2
date defaultDate;
date today(4, 19, 2016);
The first line creates a variable named defaultDate set to 1/1/2000. The second creates a variable named today set to 4/19/2016.
In order to print out the contents of the date object, simply call the print() function on the object. For instance: