Hi i got a design issue here.
I got
i need a stl container to store the day patients and outpatients.any type of container allows it? i tried vector,but vector allows only 1 type of patient.Code:class patient{
}
class dayPatient:public patient{
}
class outPatient:public patient{
}
int main void(){
// stl container
}
Hope someone can tell me how to store both the daypatient and outpatient in a single stl container.
Thanx