| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
a default constructor that sets the date to the current date,
how to get the defaut constructor to get the system date.this is required to create a date class where the default constructor will take the system date.
|
|
#2
|
|||
|
|||
|
Call "getdate" function of dos.h inside the contructor of the class.
|
![]() |
| Viewing: Dev Articles Community Forums > Programming > C/C++ Help > a default constructor that sets the date to the current date, |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|