hmmm, i was actually taught that way too (in java). but like i said above ( i think it was this thread), this guy from EA said the STL was evil because its ADT's are based on linked lists. either way, i prefer to write my own.Originally posted by Polymorphic OOP
No, actually you're wrong here. A vector is usually implemented as an array, NOT a linked list. they "expand" by reallocating and/or reserving memory. This I am sure of.