utab wrote:
> Dear all,
>
> I was reading something on data structures on c++ and in that chapter
> it was telling that the same components will be more efficiently
> substituted with the STL ones.
If I understand, you are reading a particular book, and it has some
implementations of data structures, similar to those provided in the
STL, and recommend you use the STL ones, rather than the book provided ones.
> So can somebody give me some clues? I think that is better to learn the
> STL style than trying to write them
What is "them"?
> with linked lists,pointers and so
> on... Maybe I am mistaken at some points, and hope for your
> understanding
)
I'm not sure what you mean. I suspect the book example implementations
are for your learning of data structures, not as a replacement for the
STL ones.
Always use the STL where you can.
Ben Pope
--
I'm not just a number. To many, I'm known as a string...