Thread: C++ Help
View Single Post
Old 03-19-07, 12:38 PM   #5
Registered User
six_storm's Avatar
Join Date: Jun 2004
Location: Nashvegas
Posts: 11,575
Send a message via Skype™ to six_storm
Default Re: C++ Help

Originally Posted by Martin Cracauer
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.
That's what "stu" is for, holding information for just one student. The teacher gave us a "template" for this project so he did half of the work, also the deque<Student> req[4]; I guess I need to get it working with that, does that make sense?

Thanks for everyone's help btw, it doesn't go unnoticed.
six_storm is offline   Reply With Quote