Hi, my name is Mario, 35 years old.
There introductions are out of the way. I am here because I need a little help. It is for a class assignment so don't help me more than you feel comfortable with.
The assignment is to create a program that will track Employees and Clients. Both Employees and Clients have a First and Last name. In addition Employees have an ID number (9 digits), classified as either support or secure, clearance level, and pager number. The Clients have an ID (5 alphanumeric). It is a simple program as all I need to do is enter info, retrieve a single persons info, and print the whole list.
What I want to do is have an Abstract Base Class (Person) for the First and last name. Client and Employee classes will be descendents to Person. Support and Secure classes will be descendents to Employee. I want to set up the info as a linked list.
the question I have is How do I set up the Struct for the list? In the base class? Descendents? Both?
Thanks for any light you can shed.