Dec 132017
 
A complete Date class for C++ with source.
File DATECLSS.ZIP from The Programmer’s Corner in
Category C Source Code
A complete Date class for C++ with source.
File Name File Size Zip Size Zip Type
DATES.CPP 12121 3165 deflated
DATES.DOC 365 235 deflated
DATES.H 2770 845 deflated
DATETEST.CPP 1425 557 deflated
DATETEST.PRJ 7016 1611 deflated

Download File DATECLSS.ZIP Here

Contents of the DATES.DOC file


For a complete description of this object, see the June 1990 issue of
The C Users Journal.

I have modified the object somewhat, for example, the constructors now
take the initial data in Month, Day, Year order (the original version
was in Day, Month, Year order).

I have also added several new operators to the class, << is one example.

Bill Pemberton


 December 13, 2017  Add comments

Leave a Reply