Thread: C++ Help
View Single Post
Old 03-19-07, 11:54 AM   #4
FreeBSD cheering section
uOpt's Avatar
Join Date: Nov 2004
Location: Boston, MA, USA
Posts: 609
Default Re: C++ Help

You want

deque<Student> req;

That gives you a collection object that can hold many students and can be used for req[i]. The way you did it you created an array of deques.

My Unix benchmark results
uOpt is offline   Reply With Quote