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

// @@@ Incomplete ... started 06/08/06


// start an implementation for for a class
// by #including the .h file for the class

// use "" instead <> because it is a .h file that
// we wrote ourselves.  "" mean look first in the
// current directory for the .h file

#include "Birthday.h"

#include <cstring>
using namespace std;

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

{
  strncpy(username, theUsername, maxUserNameLength + 1);
  username[maxUserNameLength] = '\0';

  name = new char [strlen(theName )+1 ] ;
  strcpy(name, theName);

  month = theMonth;
  day = theDay;
  
} 
