Subj : problem about class i have to do to send my teacher To : borland.public.cpp.borlandcpp From : briham Date : Sun Sep 12 2004 11:50 pm i have an home work about class this is what i do. what i'm done wrong thank you #include #include #include using namespace std; class Info { public: char name[30]; int age; Info(char[],int); ~Info() {}; void DisPlayInfo(void); }; Info::Info(char N[],int A) : age(A) { strcpy(name,N); } void Info::DisPlayInfo(void) { cout << "First Name is" << name << "\n"; cout << "Age is" << age << "\n"; } class Manager : Info { char position[20]; public: void DisPlayManager(void); Manager(char [], int , char []); }; Manager::Manager(char N[],int A,char P[]) : Info(N,A), position(P) { } void Manager::DisPlayManager(void) { cout << "First Name is" << name << "\n"; cout << "Age is" << age << "\n"; cout << "Position is" << position << "\n"; } void Main() { clrscr(); Manager("abz",25,"manager"); Manager.DisPlayManager(); getche(); } .