Hi,

I have to implement following logic:

I have list of student roll numbers.
read data eg: all student details belongs to different departmens from the database.

insert data into multiple vecotrs depending department database field. so each vector is belongs to one department. All the vectors should point to the single list.
I don't know how many departments are there?.

...