Library functions

This is a discussion on Library functions within the C Programming forums, part of the General Programming Boards category; Hello, Can anybody tell me where I can find a good reference documentation for the C language including the Libraries ...

  1. #1
    Registered User
    Join Date
    Mar 2007
    Posts
    5

    Post Library functions

    Hello,
    Can anybody tell me where I can find a good reference documentation for the C language including the Libraries and their functions like <stdio.h> with various of functions like scanf, printf, .. etc
    and thanks in advance!

  2. #2
    Just Lurking Dave_Sinkula's Avatar
    Join Date
    Oct 2002
    Posts
    5,006
    7. It is easier to write an incorrect program than understand a correct one.
    40. There are two ways to write error-free programs; only the third one works.*

  3. #3
    int x = *((int *) NULL); Cactus_Hugger's Avatar
    Join Date
    Jul 2003
    Location
    Banks of the River Styx
    Posts
    902
    The manual. Seriously. If you're in some flavour of unix, type:
    Code:
    man function-name
    If you're under windows, google "unix man function-name".
    long time; /* know C? */
    Unprecedented performance: Nothing ever ran this slow before.
    Any sufficiently advanced bug is indistinguishable from a feature.
    Real Programmers confuse Halloween and Christmas, because dec 25 == oct 31.
    The best way to accelerate an IBM is at 9.8 m/s/s.
    recursion (re - cur' - zhun) n. 1. (see recursion)

  4. #4
    Registered User
    Join Date
    Mar 2007
    Posts
    5
    Quote Originally Posted by Dave_Sinkula View Post
    Thank u so much Dave .

  5. #5
    Registered User
    Join Date
    Mar 2007
    Posts
    5
    Quote Originally Posted by Cactus_Hugger View Post
    The manual. Seriously. If you're in some flavour of unix, type:
    Code:
    man function-name
    If you're under windows, google "unix man function-name".
    Dear Cactus

    I'm using windows, i never tried to use Unix, I actually don't know how to begin working with Unix, I bought a book about OpenBSD and when I asked my college on school about this one, he said I should begin with Linux befor trying to enter the world of Unix .. I really didn't understand what he meant cauz I thought Linux is just one of the variants of Unix ..
    But anyway I am surviving with windows and at school if you choos networking as formation option then you will learn a second OS and that's Linux but I'm doing programming at software application level (High level) with Java and VB.net and now I want to learn programming at the software system level (low level) and that's why I choosed C and I think there is no better than C.

    Thanks
    Last edited by boucharafa; 03-30-2007 at 09:35 PM.

  6. #6
    CSharpener vart's Avatar
    Join Date
    Oct 2006
    Location
    Rishon LeZion, Israel
    Posts
    6,456
    if you are working with windows msdn.microsoft.com will be you friend aventually (maybe even hated friend )
    The first 90% of a project takes 90% of the time,
    the last 10% takes the other 90% of the time.

  7. #7
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    OpenGroup.org, basically the on-line version of the man pages. Best way to find specifications for a standard function is to type "site:opengroup.org function_name" into google.
    Last edited by @nthony; 03-31-2007 at 05:21 AM. Reason: smilies

  8. #8
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Most of the standard C functions (C99) -> http://www.cplusplus.com/reference/clibrary/

  9. #9
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Location
    Canada
    Posts
    8,046
    I usually just google "[c function] function", where [] is optional. (Though if you leave out "c function" you often get PHP hits first, so you just have to scroll a bit.) Either that or I google "man page" and use one of the hits to do a search.

    I like this online man page site for its in-depth explanations, though it doesn't have a search feature, so I usually just use google and click on its hit. (It's easy to spot with "opengroup" and all of those numbers.) I also like man.he.net because it has a search feature and the address is not that hard to remember.
    dwk

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell


    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ: cpwiki.sf.net

    My website: http://dwks.theprogrammingsite.com/
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Functions and Array
    By dldsob in forum C++ Programming
    Replies: 2
    Last Post: 07-10-2009, 04:32 PM
  2. Library Functions
    By gr8npwrfl in forum C++ Programming
    Replies: 0
    Last Post: 07-28-2008, 11:16 AM
  3. Library functions eg. String manipulation function
    By bhupesh.kec in forum C Programming
    Replies: 6
    Last Post: 07-08-2008, 07:32 AM
  4. Prime Number Generator... Help !?!!
    By Halo in forum C++ Programming
    Replies: 9
    Last Post: 10-20-2003, 07:26 PM
  5. include question
    By Wanted420 in forum C++ Programming
    Replies: 8
    Last Post: 10-17-2003, 03:49 AM

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