Re: Must we use Linked lists?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Robby wrote:

Thanks David,

Yes, yes, yes.... I really screwed that one up now did I!

'Arrays of objects' is what I meant.

David, can you suggest me a good and clear C++ book for STL ... so I can get started to learn all this 'std::vector' stuff!

I will take a look at amazon.com and aswell as my local computer book store...

Thanks all!


Robby:

You don't really need to know much about the STL just to use std::vector as a resizable array. I would say that right now what you need is a good introductory book on C++. Any such book will have everything you need to know about the C++ standard library (the STL is now just a part of the standard library).

Unfortunately, I'm not really an expert on introductory C++ books. I first learned C++ about 10 years ago from a very elementary C++ book and some MFC books. After a while I got into these newsgroups, and discovered all the things I didn't know. Then I bought some more advanced books.

Must-have reference books in the more advanced category are

Stroustrup: The C++ Programming Language
Josuttis: The C++ Standard Library

Maybe someone else can help you with a good introductory C++ book.

David Wilkinson
.



Relevant Pages

  • Re: Must we use Linked lists?
    ... 'Arrays of objects' is what I meant. ... David, can you suggest me a good and clear C++ book for STL ... ... recommend _STL Tutorial and Reference_ by David Musser ...
    (microsoft.public.vc.language)
  • Re: Clean code vs. efficiency
    ... > instead of character arrays. ... The default STL ... In general, the STL containers are extremely fast, and might be faster than ... The STL allocators let you use pool allocators, but you can also that by ...
    (comp.lang.cpp)
  • Re: Compiler and an interpreter
    ... > Arrays are not more efficient than lists. ... > You should study the STL... ... For really complicate formulae, OCaml will be ...
    (comp.programming)
  • Re: Performance of element access in Vector
    ...  Vector algorithms use the STL paradigm specifically, ... The issue raised by Maciej was about reading arrays of a-priory ...
    (comp.lang.ada)
  • Re: AND-Problem
    ... Und STL hat noch eine Menge Algorithmen die Dir helfen können. ... Ich habe zwei Arrays, pattern1 und pattern2 sowie zwei Integers ... aktuell gueltigen Elemente in den Arrays pattern1 und pattern2 an ... wie viele Bits geloescht oder gesetzt sind in den Bitstreams, ...
    (microsoft.public.de.vc)