error C2371: 'DATE' : redefinition; different basic types

I have an error is Class DATE .. Redefinition; different basic type anyone please help me . Thank you

class DATE

{
public:
void extend_date(int,int,int,int );
int diff(int, int, int, int, int, int);
int day,mon,year;

};



void DATE ::extend_date(int d1, int m1, int y1, int days)
{
............................ }

int DATE :: diff(int d1, int m1, int y1, int d2, int m2, int y2)
{
.........................
}
Topic archived. No new replies allowed.