|
||||||||||||||||||
Add Forum to Favorites | Send Topic To a Friend | View Forum FAQ | Track this topic Page: 1 2 »» |
Last Thread Next Thread ![]() |
| The C++ Standard Library Part 1 |
|
![]() Fruny Moderator Member since: 11/16/2001 From: Paris, France |
||||
|
|
||||
| An excellent article. |
||||
|
||||
![]() jrhass Member since: 10/12/2004 From: Cupertino, CA, United States |
||||
|
|
||||
| I would also highly recommend Josuttis' book: The Cplusplus Standard Library ISBN: 0201379260 |
||||
|
||||
![]() Myopic Rhino Staff Member since: The dawn of time
From: Temecula, CA, United States |
||||
|
|
||||
Quote:It's recommended and linked at the end of the article. |
||||
|
||||
![]() Boder Member since: 5/14/2004 From: Santa cruz, CA, United States |
||||
|
|
||||
| Wow. Written by the SiCrane with a thumbs up by the Fruny! I haven't gone through it yet, I just noticed the title of this thread as "The C Standard Library" and wondered who was writing about C, but it turns out its C++ |
||||
|
||||
![]() Washu Curiously Tentacled Community Manager Member since: 3/24/2001 From: Kanemitsu |
||||
|
|
||||
| And to think that yesterday I event hinted that it should get published soon in my journal... man, i must be like a prophet or something! Now to get parts 2 - 42 up! |
||||
|
||||
![]() jollyjeffers Moderator - DirectX and XNA Member since: 3/16/2000 From: London, United Kingdom |
||||
|
|
||||
Quote:I concur! Jack Jack Hoxley [ Forum FAQ | Revised FAQ | MVP Profile | Developer Journal ] |
||||
|
||||
![]() rip-off GDNet+ Member since: 3/16/2005 From: Ireland |
||||
|
|
||||
Quote: Agreed. Good Job. |
||||
|
||||
![]() xDS4Lx Member since: 1/17/2000 From: Flowery Branch, GA, United States |
||||
|
|
||||
| Good read, you should write a book since that was a lot easier to read then a lot of books ive had to read. |
||||
|
||||
![]() swiftcoder Member since: 7/3/2003 From: Boston, MA, United States |
||||
|
|
||||
| Excellent article, glad to see you have tackled this dificult topic! |
||||
|
||||
![]() IFooBar Member since: 4/17/2002 From: manama, Bahrain |
||||
|
|
||||
| as the rest have said, excellent article. It's about time someone made an article like this. Not enough people know about this stuff... Now if only I could get the c/c++ teachers in the university to actually read stuff like this so that they stop seeming so un-informed. Great work SiCrane. :: Blog :: Site |
||||
|
||||
![]() vrok137 Member since: 12/1/2004 From: San Benito, TX, United States |
||||
|
|
||||
| Great article! I am glad that finally someone took the time to discuss templates along with the STL. Every article I would read, none would ever discuss templates and expect you to already know it. I am glad someone took the time to do this! |
||||
|
||||
![]() okonomiyaki GDNet+ Member since: 5/19/2002 From: Richmond, VA, United States |
||||
|
|
||||
| Good article! I noticed one thing though. When declaring templates, isn't there a slight difference between declaring types with 'typename' and 'class'? I remember researching this a while back and finding someone that said there was a slight difference, but I forget what it is. Maybe there was a difference in older versions of C++, so I'm probably talking about something obsolete. |
||||
|
||||
![]() Washu Curiously Tentacled Community Manager Member since: 3/24/2001 From: Kanemitsu |
||||
|
|
||||
Quote: Please note footnote #6: Quote: |
||||
|
||||
![]() d000hg Member since: 1/21/2002 From: Durham, United Kingdom |
||||
|
|
||||
| It is a pretty good article, but when I saw an article about the STL I assumed there would be some STL in the article... it is a good introduction to templates, namespaces and exceptions but there are so many books and tutorials on all that 'dry' C++ language stuff already... However I look forward to the future articles. How deep will you be going - just collections, or things like for_each too, or all that plus the other stuff too? |
||||
|
||||
![]() Washu Curiously Tentacled Community Manager Member since: 3/24/2001 From: Kanemitsu |
||||
|
|
||||
Quote: Seeing as how it appears that 99.9999999999999999999999999...% of the people on these boards can't seem to figure out that 'dry' C++ language stuff, it was considered a good idea to have that 'dry' C++ language stuff introduced right off the bat. Quote: More than likely you'll see some pertaining to the algorithms and functional libraries as well. |
||||
|
||||
![]() rohde Member since: 5/30/2002 From: Copenhagen, Denmark |
||||
|
|
||||
| High quality article. Nice! "We confess our little faults to persuade people that we have no large ones." -Francois de La Rochefoucauld (1613 - 1680). |
||||
|
||||
![]() Dorvo Member since: 8/13/2001 |
||||
|
|
||||
| The article is extremely well done, and very informative. That being said, however, I do have a complaint about it being all on one page. Maybe breaking it up into multiple pages would help with the readability of the article. |
||||
|
||||
![]() Washu Curiously Tentacled Community Manager Member since: 3/24/2001 From: Kanemitsu |
||||
|
|
||||
Quote: ... Check the front page link. |
||||
|
||||
![]() Dorvo Member since: 8/13/2001 |
||||
|
|
||||
Quote: Ahh. Much better. I didn't come to the article through the front page link, so I didn't know there was a version that split it into pages. |
||||
|
||||
![]() Kitt3n Member since: 1/23/2001 From: Netherlands |
||||
|
|
||||
| Nice article.. Maybe you can add sth to the swap-example - because stl-writers know the actual inside of their implementation, they can do many optimizations which would make a swap much more effective then using a temp-variable to copy everything around (instead they could just swap some pointers)... |
||||
|
||||
![]() silvermace Member since: 4/6/2002 From: Auckland, New Zealand |
||||
|
|
||||
| been wating for an article this good for a while, props to SiCrane! "I am a donut! Ask not how many tris/batch, but rather how many batches/frame!" -- Matthias Wloka & Richard Huddy, (GDC, DirectX 9 Performance) http://www.silvermace.com/ -- My personal website |
||||
|
||||
![]() Darragh Member since: 3/1/2005 From: Wexford, Ireland |
||||
|
|
||||
Well written and very informative. Good work! If only every article on the internet was this helpful ![]() |
||||
|
||||
![]() me22 Member since: 4/2/2003 From: Montreal, Canada |
||||
|
|
||||
| I'm very glad to see this article. I have my own series of articles covering Modern C++ ( http://gpwiki.org/index.php/C_plus_plus:Modern_C_plus_plus ) -- including such things as containers, iterators, and algorithms (such as std::for_each) -- but I apparently set my prerequisites too high and am now adding appendicies to cover some of the basics. Thanks for a very nice article to which I can send people for the basics before they go through mine :) One point in particular: thanks for covering dependant names explicitly. Tons of people have no idea where they need typename. Quote: Just to point out, "Standard Template Library" is SGI's library, and not part of ISO C++. A large part of the Standard Library was inspired by the STL, but it is not STL. Quote: Yeah, C++ is unfortunatly taught rather poorly, in the vast majority of cases. [Edited by - me22 on May 23, 2006 8:54:47 PM] |
||||
|
||||
![]() d000hg Member since: 1/21/2002 From: Durham, United Kingdom |
||||
|
|
||||
Quote:Doesn't everyone have a C++ book? If they're too lazy to learn from a book I wonder if they'll really play with templates after this article. However you don't really need to understand templates to use the STL I suppose! Anyway, an article which covers how to do A* or similar efficiently using STL might be a good inclusion? |
||||
|
||||
|
Page: 1 2 »» All times are ET (US) ![]() |
Last Thread Next Thread ![]() |
|