POV-Ray : Newsgroups : povray.off-topic : Games programmers : Re: Games programmers Server Time
10 Oct 2024 15:18:41 EDT (-0400)
  Re: Games programmers  
From: Mueen Nawaz
Date: 12 Sep 2008 01:07:31
Message: <48c9f913@news.povray.org>
Orchid XP v8 wrote:
>>   Dynamically allocated vectors, strings, doubly-linked lists, binary 
>> trees
>> (as sets, multisets, maps and multimaps) and double-ended queues. None of
>> them requiring any pointers or 'new' to use. (The upcoming C++ standard
>> will also include hashmaps as a new data container.)
> 
> Well that's something then.

	That's what I was referring to when I said that most introductory C++ 
books written in the past either did not mention them or put them 
somewhere at the end of the book.

	In reality, you should use a vector instead of an array unless you have 
a good reason not to. It includes a lot of the protections people look for.

	In coding Python, I've used sets and maps a lot. I'm sure you use them 
even more in Haskell. I sure wish someone had told me years ago that the 
C++ standard library had them.

-- 
Lisa: Oedipus killed his father and married his mother.
Homer: Who payed for THAT wedding?


                     /\  /\               /\  /
                    /  \/  \ u e e n     /  \/  a w a z
                        >>>>>>mue### [at] nawazorg<<<<<<
                                    anl


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.