Thread: C++ Referance sheet and/or book

  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    6

    Talking C++ Referance sheet and/or book

    Hello,
    I am currently reading C++ Primer Plus and i love it!
    But, i have a question:
    I understand that header files (like "cmath" or "iostream") contain libraries of functions (like "sqrt()") and there are tons of header files and users can make their own (correct me if im wrong) but is there some kind of refrence book i can use to learn some of these header files, libraries, and most importantly functions.

    Thanks

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    The book I would recommend is The C++ Standard Library: A Tutorial and Reference by Nicolai M. Josuttis. There are also online resources such as this C++ Reference. The most authoritative reference would be the C++ Standard itself, which can be purchased from the ANSI store for around 30 USD (but draft versions are available for free online).
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,895
    For a reference on the language itself, I'd say Stroustrup's "The C++ Programming Language" is the best source.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  4. #4
    and the hat of sweating
    Join Date
    Aug 2007
    Location
    Toronto, ON
    Posts
    3,545
    This site isn't too bad for a quick reference, but it has some things that are missing: http://www.cppreference.com/
    There's plenty of other sites like it out there too.

  5. #5
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    For a simple reference of standard functions, there's several online, as pointed out. If you're going to get serious about C++ - buying the standard (or at least bookmarking one of the drafts) is a really good idea - it'll details lots of the specifics that may not be spelled out when you're first learning the language.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need testers for editor
    By VirtualAce in forum Game Programming
    Replies: 43
    Last Post: 07-10-2006, 08:00 AM
  2. Creating a modeless property sheet
    By axr0284 in forum Windows Programming
    Replies: 6
    Last Post: 01-12-2005, 06:29 AM
  3. Referance Ifstream
    By Ajsan in forum C++ Programming
    Replies: 2
    Last Post: 05-12-2004, 02:37 PM
  4. Moving a Property Sheet
    By Eibro in forum Windows Programming
    Replies: 1
    Last Post: 07-05-2003, 09:20 AM
  5. Dialog Box & Property Sheet :: MFC
    By kuphryn in forum Windows Programming
    Replies: 2
    Last Post: 08-01-2002, 01:33 PM