Jump to content
  • Advertisement
Sign in to follow this  
Kazade

Anymore of STL that I should be aware of?

This topic is 4791 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi everyone, Over the last few months ive been trying to learn how to use STL properly. I've been using vector and string for a while now and i've been trying to learn about the most frequently used classes. At the moment I have read up on the following: vector string list slist deque map iterators Are there any other elements of the STL that are used very frequently and that are vital for me to learn? Luke.

Share this post


Link to post
Share on other sites
Advertisement
some of the functions described in the algorithm header perhaps?

[Edited by - rip-off on October 8, 2005 8:51:46 AM]

Share this post


Link to post
Share on other sites
Ok, that covers the containers (althought slist isn't part of the standard library, it's an extension). You should prbably make sure you understand how to use custom allocators with them.

Here a list of other things I find useful in the standard library:

  • auto_ptr (in <memory>)
  • the sorting/searching algorithms (<algorithm>)
  • the exception classes (<stdexcept>) - it's useful to have all your exception classes convertable to std::exception&

Share this post


Link to post
Share on other sites
OK, thanks for the suggestions guys, i'll learn about the algorithm header and auto_ptr next then.

Cheers,

Luke.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!