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 3 5157
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.borl and.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...e tc.
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.merke rk(at)dse.nl
"Seeker of the Unseen" <re**********@h otmail.com> wrote in message
news:41******** *************** @news.sunsite.d k... 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.borl and.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.
Thank you :)
"Peter van Merkerk" <me*****@deadsp am.com> skrev i en meddelelse
news:2m******** ****@uni-berlin.de... 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.borl and.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...e tc. 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.merke rk(at)dse.nl This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Steve |
last post by:
posted on: comp.lang.python
emailed to: docs@python.org
I have a suggestion/request that will, I think, improve the Python
documentation.
Currently, the Python documentation in HTML format is stored at URLs
that change with each new release of Python. That is, for example, the
documentation for the os module is at
http://python.org/doc/2.3/lib/module-os.html for release 2.3 of Python,
|
by: Sebastian Faust |
last post by:
Hi,
I read about the Loki::Factory and Loki::AbstractFactory in the book Modern
C++ Design and couldnt figure out one thing:
If I have several classes, for example the following hierarchie:
clase Base
{
public:
Base(Base* pBase) : _pBase(pBase) { }
|
by: Mainlander |
last post by:
I have a class that I designed that contains some objects in its fields,
that are derived from the TList class.
I want to use the TList Sort procedure to sort the items that are in the
derived class. The derived class has an extra field that specifies how to
sort the items.
The problem I have is in the implementation of the Sort method in the way
the class is implemented by Borland. The call to the Sort method must
pass in the name of...
|
by: Ole Hanson |
last post by:
I would like to be able to generate documentation for a custom configuration
file (xml) to enable future support engineers to understand applicable
values to the various elements inside the configuration file. (see below for
sample).
Does any program exist (like NDoc) that is able to generate MSDN like
documentation?
|
by: Cameron Laird |
last post by:
QOTW: "Python makes it easy to implement algorithms." - casevh
"Most of the discussion of immutables here seems to be caused by
newcomers wanting to copy an idiom from another language which doesn't
have immutable variables. Their real problem is usually with binding,
not immutability." - Mike Meyer
Among the treasures available in The Wiki is the current
copy of "the Sorting min-howto":
| |
by: innovasys |
last post by:
TORQUAY, DEVON, UK - Innovasys announced the release of Document! X
5, the fifth version of the documentation solution of choice for
developers using Microsoft Visual Studio or the .NET Framework.
Document! X 5 automatically produces professional quality technical
documentation and on-line help for Microsoft .NET Framework assemblies
(.NET Framework 1.0, 1.1 and 2.0 are all supported), COM components and
controls, Visual Basic source code,...
|
by: nicolasfr |
last post by:
Hi,
I am a bit disapointed with the current Python online documentation. I
have read many messages of people complaining about the documentation,
it's lack of examples and the use of complicated sentences that you
need to read 10 times before understanding what it means.
That's why I have started a collaborative project to make a user
contributed Python documentation. The wiki is online here:
http://www.pythondocs.info
|
by: teddarr |
last post by:
I have a TList that returns several items in C#. I want to pull 3 entities from this tlist to assign to variables. 2 of the 3 will be displayed in a datagrid. How do I assign these values to the variables and then populate my datagrid?
Here's what I have so far...
private void btnDelPointSearch_Click(object sender, EventArgs e)
{
m_delPoint = textBoxDeliveryPoint.Text;
try
{
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |