Hi, i was working on simple hospital program.
I got a patient base class,and from the base class i got three types of patients classes.(namely in-patient,day-patient,out-patient).
I got a doctor class,and i need to use a stl container to store the patients treated by the doctor.the doctor treats all 3 types of patients?
i tried vector,but vector allows me to to store 1 type of patient only.
what type of stl container to use so i can store all the 3types of patients? can some one guide ?
Thanking you very much,