I am a newbie to C++ programming and currently working on a program using Abstract Factory design
pattern and linked list to store the objects and display them.
The user is expected to select whether the entry is for a management staff or Junior staff then save the parameters in the linked list and display them too.
I have created the abstract factories and the linked list but I am stuck on how to save the objects and display them with the linked list.
I need help with how to pass the staff object to the linked list and display them.
Thank you.
I have five files - Staff.h, Staff.cpp, StaffList.h, StaffList.cpp and StaffMain.cpp
The codes are below
Staff.h
Staff.cpp
StaffList.h
StaffList.cpp
StaffMain.cpp