/* File Name : CustMain.cpp Course Number : ISYS 291 01 Student Name : Jason Gradziel Student Number : 826-135-535 Professors Name : Brian Perry */ #include /* cout */ #include /* strcpy */ #include "Customer.h" char* Get_Customer_Data(void); void clrscr(void); void pause(void); int main() { char* temp = NULL; int err = 0; /* holds error code */ Customer me; /* creates object me */ Customer you; clrscr(); me.addOrder(); temp = Get_Customer_Data(); /* get data */ err = me.update(temp); /* updata data onto object */ if (err != 0) cout << "An error has occured in your input" << endl; pause(); clrscr(); temp = me.display(); cout << endl << "Data from Customer Class" << endl << temp << endl; pause(); temp = me.mailLabel(); /* format data for mailing label output */ cout << endl << "Data from Customer Class from Mailing Label" << endl << temp << endl; pause(); /* for you object */ strcpy(temp,NULL); clrscr(); you.addOrder(); temp = Get_Customer_Data(); /* get data */ err = you.update(temp); /* updata data onto object */ if (err != 0) cout << "An error has occured in your input" << endl; pause(); clrscr(); temp = you.display(); cout << endl << "Data from Customer Class" << endl << temp << endl; pause(); temp = you.mailLabel(); /* format data for mailing label output */ cout << endl << "Data from Customer Class from Mailing Label" << endl << temp << endl; pause(); return 0; }