TList documentation

  • Thread starter Seeker of the Unseen
  • Start date
S

Seeker of the Unseen

Hi All,

I am new to C++.

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.

Can anyone help me with some documetation of some kind on how to use TList,
cause the help file didn't help me much.

Thanks,

Seeker
 
P

Peter van Merkerk

Seeker said:
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!
 
D

Duane

Seeker of the Unseen said:
Hi All,

I am new to C++.

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.

Can anyone help me with some documetation of some kind on how to use TList,
cause the help file didn't help me much.

newsgroups.borland.com

Look for groups with vcl in the name.

As someone else has pointed out though, you should look at std::list, std::vector, std::map
etc. They're portable. The only reason I've ever used TList is that a calling function
in someone else's code required it. It's not a very safe container and requires casts
to put stuff in and get stuff out.
 
S

Seeker of the Unseen

Thank you :)

Peter van Merkerk said:
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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,172
Messages
2,570,934
Members
47,479
Latest member
JaysonK723

Latest Threads

Top