C++ style and API

This is a discussion on C++ style and API within the C++ Programming forums, part of the General Programming Boards category; Hello there, Does somebody know if there is a C++ API Documentation like Java's? I've only found creference.com, but many ...

  1. #1
    Registered User
    Join Date
    May 2005
    Location
    Germany
    Posts
    12

    C++ style and API

    Hello there,

    Does somebody know if there is a C++ API Documentation like Java's? I've only found creference.com, but many functions ( such as sort(), stable_sort(), or <algorithm> ) aren't there. It seems it only has the Standard Template Library, is there any site with the standard library?

    I've also been wondering, if there is a standard c++ coding style, so as given by Sun for java.

    Thanks!

  2. #2

  3. #3
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    Probably the best online reference for the standard C++ library can be found at www.dinkumware.com. When you get bored with that, or start to reach the limits of the standard library, www.boost.org is entertaining.
    My best code is written with the delete key.

  4. #4
    Hardware Engineer
    Join Date
    Sep 2001
    Posts
    1,398
    I also use dinkumware as my standard reference.

    You can download the C and C++ language standards in PDF format from ANSI for about $20 each (You do need both to completely cover the C++ language.)

    They are not "handy" references, especially as non-hyperlinked PDFs. They are written as specifications (not references), and are not that easy to understand. But, they ARE complete and accurate.

  5. #5
    Registered User
    Join Date
    May 2005
    Location
    Germany
    Posts
    12
    Quote Originally Posted by Codeplug
    There's no "standard" coding style.
    Sorry, I meant code conventions, such as this: http://java.sun.com/docs/codeconv/ht...nvTOC.doc.html for Java.

    Thanks for the great answers!

  6. #6
    Registered User
    Join Date
    Jun 2004
    Posts
    722
    There are no standard rules.. only what we call good practices/structuring/spirit... which are mostly acquired by experience

  7. #7
    Registered User
    Join Date
    Jan 2005
    Posts
    7,344
    http://www.parashift.com/c++-faq-lit....html#faq-27.1

    The book recommended there is very good, but contains programming practices like part 10 in your Java link rather than coding conventions/style advice.

  8. #8
    Tropical Coder Darryl's Avatar
    Join Date
    Mar 2005
    Location
    Cayman Islands
    Posts
    503

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. WIN32 API Controls used with Resource
    By parad0x13 in forum C++ Programming
    Replies: 0
    Last Post: 07-19-2008, 03:05 PM
  2. Win32 API , Windows XP Button styles
    By Rare177 in forum Windows Programming
    Replies: 12
    Last Post: 06-28-2006, 06:28 PM
  3. winxp style background color problem
    By johny145 in forum Windows Programming
    Replies: 0
    Last Post: 07-06-2005, 11:22 AM
  4. Making a mouse hover button, API style
    By hanhao in forum C++ Programming
    Replies: 1
    Last Post: 05-27-2004, 07:17 AM
  5. Programming with the ALSA API.
    By WebmasterMattD in forum Linux Programming
    Replies: 0
    Last Post: 01-24-2003, 06:54 PM

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