#1
  1. Happy Monkey
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Nov 2001
    Location
    UK (University of Kentucky)
    Posts
    1,809
    Rep Power
    47

    Is there a good C++ site like php.net?


    php.net has a searchable database of all the php functions. Is there a site similar to this for C++? I am in a Linux environment using vi, so I don't have any fancy program to list functions for me. Thanks. :)
  2. #2
  3. I'm Baaaaaaack!
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Jul 2003
    Location
    Maryland
    Posts
    5,538
    Rep Power
    243
    I use google.

    My blog, The Fount of Useless Information http://sol-biotech.com/wordpress/
    Free code: http://sol-biotech.com/code/.
    Secure Programming: http://sol-biotech.com/code/SecProgFAQ.html.
    Performance Programming: http://sol-biotech.com/code/PerformanceProgramming.html.
    LinkedIn Profile: http://www.linkedin.com/in/keithoxenrider

    It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
    --Me, I just made it up

    The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
    --George Bernard Shaw
  4. #3
  5. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    121
    Rep Power
    11
    Google doesn't list every function, and describe it.

    He is looking for a complete list, lile www.php.net/manual

    I will take a look for you, but you will never find a complete list since everything is inside libraries and not every library is knows, as people make new ones all the time for things that they do frequiently.
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Sep 2000
    Posts
    763
    Rep Power
    0
    I asked this question awhile ago. No one was able to come up with a site like php.net. :(

    Would be nice if one could be found or maybe someone could start one. :)
  8. #5
  9. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 2003
    Posts
    121
    Rep Power
    11
    Having a very hard time finding something.

    Seems hopeless :(
  10. #6
  11. I'm Baaaaaaack!
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Jul 2003
    Location
    Maryland
    Posts
    5,538
    Rep Power
    243
    Despite the fact that there is ANSI C and C++, the languages have been around long enough to have seemingly endless variations. There are also the very popular POSIX versions to complicate matters, not to mention all the various Windows flavors and undoubtably additions for the various Macs as well. Since C++ is 'extended' by the Standard Template Library, which is not, in fact, very standard, the waters are further muddied. There is probably not a single source for research and not likely to ever be one. I have found at various times sites that seemed promising, but turned out to be frustratingly incomplete, at least for what I was searching for. Just google for the function you are interested in with the addition of 'C++' to try to screen out the same function name for other languages and bookmark the ones you find the most promising. That is what most of the rest of us do.

    My blog, The Fount of Useless Information http://sol-biotech.com/wordpress/
    Free code: http://sol-biotech.com/code/.
    Secure Programming: http://sol-biotech.com/code/SecProgFAQ.html.
    Performance Programming: http://sol-biotech.com/code/PerformanceProgramming.html.
    LinkedIn Profile: http://www.linkedin.com/in/keithoxenrider

    It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
    --Me, I just made it up

    The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
    --George Bernard Shaw
  12. #7
  13. No Profile Picture
    status unknown
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Posts
    262
    Rep Power
    11
    The C++ standard (ISO/IEC 14882:1998(E) ) will list and describe all of the C++ language and standard library, but it's really aimed at compiler writers and isn't the most readable document you'll ever come across. Better is to buy a book that describes standard C++, but if you want a copy of the standard itself, and you don't want to pay the mighty sum of $18 from:

    http://webstore.ansi.org/AnsiDocStore/

    then you can access an almost identical draft HTML version here:

    http://std.dkuug.dk/jtc1/sc22/wg21/docs/wp/html/oct97/

    Also potentially useful is the documentation for the Dinkumware C++ implementation:

    http://dinkumware.com/refxcpp.html

    and the SGI STL guide:

    http://www.sgi.com/tech/stl/

    Some other generally useful sites, perhaps not quite so reliable but useful nonetheless:

    http://www.cppreference.com/
    http://www.cplusplus.com/

    Not quite in the same reference category, but again potentially useful, is Bruce Eckel's free pdf download of Thinking In C++, available from:

    http://www.mindview.net/Books/TICPP/...ngInCPP2e.html

    For the 'C' part of C++, the following may help:

    http://www-ccs.ucsd.edu/c/

    That should get you started. Oh, and you should familiarise yourself with the help files or documentation that came with your compiler. Some things (quite a lot actually) are implementation defined (compiler specific).

    Hope that helps.
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2002
    Location
    Seattle WA
    Posts
    863
    Rep Power
    14
    If you're looking for online resources, I can't offer any new suggestions, but a very good book for C++ reference is C++ in a nutshell. Describes the key languages constructs and the stl. What I really like is the stl section is organized by header file. Very useful and amazingly efficient for information finding. I don't think you can really get more specific without getting compiler specific.
  16. #9
  17. Happy Monkey
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Nov 2001
    Location
    UK (University of Kentucky)
    Posts
    1,809
    Rep Power
    47
    Thanks for all the great links! Even though there seems to be no site for C++ like the one PHP has, I believe that google and DevShed are my best bets. :) Thanks again!
  18. #10
  19. jasondoucette.com
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    Canada
    Posts
    378
    Rep Power
    12
    I personally use MSDN. I usually use google with 'MSDN' as one of the search terms to find the page I am looking for more quickly. It sure beats MSDN's own search feature. Once you know where to look within MSDN, you can find everything you want about any function in C++.
  20. #11
  21. I'm Baaaaaaack!
    Devshed God 1st Plane (5500 - 5999 posts)

    Join Date
    Jul 2003
    Location
    Maryland
    Posts
    5,538
    Rep Power
    243
    Just keep in mind that MSDN is totally Microsoft specific and is not likely to do you any favors if you are looking up something POSIX. Plus, you won't find much about *nix specific routines, though there is some overlap in some libraries.

    My blog, The Fount of Useless Information http://sol-biotech.com/wordpress/
    Free code: http://sol-biotech.com/code/.
    Secure Programming: http://sol-biotech.com/code/SecProgFAQ.html.
    Performance Programming: http://sol-biotech.com/code/PerformanceProgramming.html.
    LinkedIn Profile: http://www.linkedin.com/in/keithoxenrider

    It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
    --Me, I just made it up

    The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
    --George Bernard Shaw
  22. #12
  23. No Profile Picture
    Contributing User
    Devshed Novice (500 - 999 posts)

    Join Date
    Jan 2002
    Location
    Seattle WA
    Posts
    863
    Rep Power
    14
    If you keep to the standard functions in any language, the msdn is pretty solid. I usually prefer the msdn because it tends to have alot of information for each entry, and they are very well cross referenced. Agreed though, if you don't know how to navigate their menu (or if you can't use explorer and even use the menu), the msdn can be a nasty place...

    Sure you won't find nix functions in the msdn, but you won't find com information in a bsd c++ reference either...Stick with language core elements, and it's an excellent online reference.
  24. #13
  25. jasondoucette.com
    Devshed Newbie (0 - 499 posts)

    Join Date
    Feb 2003
    Location
    Canada
    Posts
    378
    Rep Power
    12
    Originally posted by MJEggertson
    If you keep to the standard functions in any language, the msdn is pretty solid. I usually prefer the msdn because it tends to have alot of information for each entry, and they are very well cross referenced.
    Agreed. Those are two more reasons that I use it often. Also, most of the microsoft specific is clearly tagged 'Microsoft Specific...Microsoft Specific End'.
  26. #14
  27. Happy Monkey
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Nov 2001
    Location
    UK (University of Kentucky)
    Posts
    1,809
    Rep Power
    47
    Also, most of the microsoft specific is clearly tagged 'Microsoft Specific...Microsoft Specific End'.
    I am surprised that they know that C++ was not invented by them :p

IMN logo majestic logo threadwatch logo seochat tools logo