help-gplusplus
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Anyone could help me with this memeory problem...


From: Ulrich Lauther
Subject: Re: Anyone could help me with this memeory problem...
Date: Wed, 23 Feb 2005 10:34:04 +0000 (UTC)

Larry I Smith <larryXiXsmith@verizon.net> wrote:

: You shouldn't have to write your own tree code.  You could
: use a 'map' or 'multimap' from the C++ Std Template Lib (STL).
: 'map' and 'multimap' are (usually) implmented with an
: RB-tree.  Get familiar with the containers, and the functions
: to manipulate them, that are provided as part of the STL (which
: comes with most modern day C++ packages).


the original poster is obviouly in the process of learning C++.
Writing code for creating/using a binary tree is a usefull exercise
and will give him more insight than blindly using library code.
-- 
        -lauther

[nosave]
----------------------------------------------------------------------------
Ulrich Lauther          ph: +49 89 636 48834 fx: ... 636 42284
Siemens CT SE 6         Internet: Ulrich.Lauther@siemens.com


reply via email to

[Prev in Thread] Current Thread [Next in Thread]