/* FUNCTION TO GET THE CURRENT SYSTEM DATE */
void DATE :: CURRENT_DATE(void)
{
struct DATE date:d;
getdate(&d)};
day = d.da_day ;
month = d.da_mon ;
year = d.da_year ;
}
The related class is---
class DATE
{
public :
void EXTEND_DATE(int,int,int) ;
void CURRENT_DATE(void) ;
int day, month, year;
} ;
plz help my compiler DEV C++ doesnt compile it.
Its just a part of that program.