Is this the correct way to build a class for Date?
#ifndef date_H
#define date_H
class date
{
private:
date(); //default constructor
date(int m , int d, int y);
void input();// promts user to enter date
void show();//outputs date
bool Set (int m, int d, int y); //sets date to specified values
int GetMonth();//returns month
int GetDay();// returns day
int GetYear(); //returns year
bool SetFormat (char f);//allows user to change format setting
void Increment();//move date foward one calendar year
};//ends class date
#endif
How would I test a class? Can I have an example?