Is there a reference for the C++ standard library

This is a discussion on Is there a reference for the C++ standard library within the C++ Programming forums, part of the General Programming Boards category; I guess coming off of two simesters of java I'm used to a pretty easy way of finding classes, member ...

  1. #1
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901

    Is there a reference for the C++ standard library

    I guess coming off of two simesters of java I'm used to a pretty easy way of finding classes, member functions, interfaces and the like that I can use in my programs. I don't remember ever really needing it when I last worked on C++ but I'm doing a "refresher" and want to be able to look up different standard class functions and such without having to scrounge through a reference book.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,794
    You could try the Standard Template Library Programmer's Guide.
    It doesnt cover the entire standard library, but you can also supplement with material from MSDN and cppreference.com.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,592
    Maybe
    http://www.dinkumware.com/libraries_ref.html
    http://www.sgi.com/tech/stl/

    No doubt similar references exist for say boost
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  4. #4
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Blargh, I'm spoiled by Java a bit. After starting to do some of my programming II assignments that I did in java in C++ I realize that you have to make your own algorithms for a lot of the stuff. No ArrayList and Arrays classes are the biggest blowbacks to me.

  5. #5
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    Coolness.

  6. #6
    Registered User
    Join Date
    Jan 2005
    Posts
    7,328
    >> No ArrayList and Arrays classes are the biggest blowbacks to me.

    ?? There are similar classes in the C++ standard library. There are also built-in algorithms.

  7. #7
    Ethernal Noob
    Join Date
    Nov 2001
    Posts
    1,901
    I see.

  8. #8
    Registered User
    Join Date
    Jan 2005
    Posts
    7,328
    vector is the C++ equivalent of Array, although often a deque or list will be more appropriate. Take a look at the sgi site in Salem's link, including the introduction to the STL, and then peruse the Table of Contents to see all (or most) of what is available. You'll probably only find the C++ standard library lacking when you look at GUIs and graphics.

  9. #9
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    It's not a "handy" reference, but you can get the actual ANSI/ISO language standard from ANSI for $30 in PDF ($300 for a hard copy!). Oh, I think you need the C standard too, because the C++ standard refers-back to the C standard.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 4
    Last Post: 05-13-2011, 08:28 AM
  2. Using Vectors. MinGW warning
    By Viewer in forum C++ Programming
    Replies: 9
    Last Post: 03-26-2009, 03:15 PM
  3. GCC - Strange networking functions error.
    By maththeorylvr in forum Windows Programming
    Replies: 3
    Last Post: 04-05-2005, 12:00 AM
  4. C++ standard library functions
    By eno in forum C++ Programming
    Replies: 1
    Last Post: 12-16-2003, 09:15 PM
  5. Replies: 3
    Last Post: 09-04-2002, 09:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21