Trying to get some guidelines

This is a discussion on Trying to get some guidelines within the C Programming forums, part of the General Programming Boards category; What would you guys say a programmer must know before using a standard library function? I guess what I'm trying ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,333
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 02:44 AM

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