Thread: Trying to get some guidelines

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    133

    Trying to get some guidelines

    What would you guys say a programmer must know before using a standard library function?

    I guess what I'm trying to say is if I use stdio.h i needed to know I planned on using printf. Is there anything else I really must take into consideration before going to the library functions?

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    Where the manual pages are would be one requirement.

    I know pretty much what the functionality of the standard library is.

    But on a day to day basis, I don't remember what all the parameters are, or what all the status results are. Nor have I memorised every last nuance of say printf or scanf.

    Basically, I know enough about the standard library to avoid having to reinvent the wheel.
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. General Guidelines on Preventing Header File collision
    By stanlvw in forum C++ Programming
    Replies: 12
    Last Post: 07-05-2008, 04:02 AM
  2. Guidelines for commenting code in C
    By cs32 in forum C Programming
    Replies: 7
    Last Post: 02-18-2008, 03:44 AM