Seeker of the Unseen wrote:
I am new to C++.
Welcome.
I am currently playing with Borland C++ builder, I am trying to use TList to
put my objects inside it, but I don't seem to quite grasp the concept of it.
TList is not a part of standard C++, it is Borland specific class. Since
this group only discusses standard C++ your question is off-topic here.
Borland has however a public newsserver: newsgroups.borland.com . This
newsserver has groups with experts that are much more likely to be able
to answer your question about TList and other Borland specific classes
than this group. You might want to look for a group with vcl in its name.
Instead of learning to how use TList, you might want to get familiar
with the standard container classes, like std::list, std::vector...etc.
Not only are they standard (i.e. they also exist on other development
environments like Microsoft Visual C++), but are in many ways superior
to TList and the other container classes in the Borland VCL library. And
last but not least questions about standard container classes are
topical here; feel free to ask questions about the standard container
classes here.
Also you might want to read this:
http://www.slack.net/~shiva/welcome.txt http://www.parashift.com/c++-faq-lite
Good luck!
--
Peter van Merkerk
peter.van.merkerk(at)dse.nl