About "On Learning the STL" Series
by
, 08-11-2009 at 02:25 AM (567 Views)
The STL is an extremely powerful bunch of software, which can greatly decrease the amount of time needed to program. Unfortunately, I see a lot where people could have very easily used STL containers or algorithms, and instead they code their own solution. To me, it really only reflects one thing, and that's that people don't know everything available in the STL. Maybe because it's "standard" people feel it's not good enough for their needs, I don't know... either way it happens a lot.
Due to this, I wanted to increase awareness of what the STL has to offer, and I have started a massive tutorial series on everything the STL has to offer. I realize that there's a lot to cover, in fact, just covering Vectors has thus far proven to be more than could be packed into two lessons alone. There's more to do with Iterators, and then all the functions Vectors have to assist in coding. And that's just Vectors! There's still Deques, Sets, Maps, Lists, Bitsets, and the Container Adopters to cover, then the whole STL algorithms set that allow for all sorts or mix/matching with containers, generic iterator definitions, and I plan on tacking on a few other non-STL components to this to make it fully inclusive, such as new_handlers, strings, cin and cout (along with istream and ostream_iterators), pairs, etc.
I mean... there's literally enough for me to cover to write a book on the subject. And I plan on doing all of it here.
It's going to work out like this:
Chapter 1: Vectors
Chapter 2: Deques
Chapter 3: Maps and Multimaps
Chapter 4: Sets and Multisets
Chapter 5: Lists
Chapter 6: Bitsets
Chapter 7: Container Adopters (such as Stacks and Queues)
Chapter 8: Algorithms (This one's gonna be BIG)
Non-STL 1: Strings
Non-STL 2: IOstreams
Non-STL 3: Etc.
Chapter 9: Conclusion/Additions
I have to know if it's okay by the administration for me to edit the earlier entries. I've been thinking about it for a while and I'd like to provide some visual aids, like images and videos, for this. Maybe I can put the preferred lesson as an attachment in a .zip file with .odt files and .ogv videos. Who knows. I honestly don't plan on getting +rep for each part of a chapter, that's not my motivation behind this. I'm in it because I want people to get the most out of the STL!
- Zeke











