
// Birthday.h   P. Conrad for CISC220 06J
// a class to represent a birthday.


// @@@ Incomplete... we'll continue this on 06/08/06

// make the include file idempotent

#ifndef BIRTHDAY_H
#define BIRTHDAY_H


class Birthday_C
{

 public:

  // name of constructor is always same as the name of the class
  // there is NOTHING in front as a return type, not even 'void'
  // constructors are NEVER const member functions.

  Birthday_C (const char * const theUsername,
	      const char * const theName,
	      int theMonth,
	      int theDay); 

  static const int maxUserNameLength = 8;

 private:

  char username[maxUserNameLength + 1 ]; // +1 null terminator
  char *name; // variable length string allocated on the heap
  int month;
  int day;

};

#endif


