Where to get library files?

This is a discussion on Where to get library files? within the C++ Programming forums, part of the General Programming Boards category; Hi! I need the stdio.h header file for my program, but where do i get this header file from? and ...

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    3

    Where to get library files?

    Hi! I need the stdio.h header file for my program, but where do i get this header file from? and other header files like math.h?

    I found many sites that has reference guides for the library files and functions, but where do i get the actual library file?

    Thanks,
    klear.

  2. #2
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    It comes with your compiler. If it doesn't, your compiler sucks
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,529
    Makes me wonder what compiler you do have, if you don't have those header files.

    They're supposed to be standard, which means every compiler must have them.
    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.

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    3
    okie.. i'm blind! I found the header file in the compiler.. Thanks to Magos and Salem.

    So now the stdio.h is in c:\borland\bcc55\include, but it can't be found when i'm compiling.
    I have set the path to c:\borland\bcc55\bin
    and create this bcc55.cfg and ilink.cfg files with some include lines inside. Am i missing something?

    Thanks so much,
    *pulling hair out*
    klear.

  5. #5
    Registered User
    Join Date
    Mar 2004
    Posts
    220
    Just to add onto this, for those of us who don't have specific header files.

    Is there any website that allows you to download these header files and let you install them manually?

    Or is this sort of option compiler specific?
    OS: Windows XP Pro CE
    IDE: VS .NET 2002
    Preferred Language: C++.

  6. #6
    C++ Developer XSquared's Avatar
    Join Date
    Jun 2002
    Location
    Ontario, Canada
    Posts
    2,718
    We've got a FAQ article about that.
    Naturally I didn't feel inspired enough to read all the links for you, since I already slaved away for long hours under a blistering sun pressing the search button after typing four whole words! - Quzah

    You. Fetch me my copy of the Wall Street Journal. You two, fight to the death - Stewie

  7. #7
    Been here, done that.
    Join Date
    May 2003
    Posts
    1,157
    Originally posted by klear
    okie.. i'm blind! I found the header file in the compiler.. Thanks to Magos and Salem.

    So now the stdio.h is in c:\borland\bcc55\include, but it can't be found when i'm compiling.
    I have set the path to c:\borland\bcc55\bin
    and create this bcc55.cfg and ilink.cfg files with some include lines inside. Am i missing something?
    Don't know. You haven't posted any details of what you have.

    In my system, the compiler is in:
    C:\Program Files\Borland\BCC55\Bin\

    In this directory is the file BCC32.CFG which contains
    -I"C:\PROGRA~1\Borland\BCC55\Include"
    -L"C:\PROGRA~1\Borland\BCC55\Lib"
    Also the file ILINK32.CFG contains
    -L"C:\PROGRA~1\Borland\BCC55\Lib"
    Definition: Politics -- Latin, from
    poly meaning many and
    tics meaning blood sucking parasites
    -- Tom Smothers

  8. #8
    Registered User
    Join Date
    Mar 2004
    Posts
    3

    Talking

    okie.. it worked! i put the -I as -l previously in my bcc32.cfg file, and my letter cases were all small. Thanks a lot, WaltP!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 7
    Last Post: 02-01-2009, 03:53 PM
  2. VC++ 6 question: browsing into a library
    By maxhavoc in forum Tech Board
    Replies: 4
    Last Post: 09-15-2006, 06:57 AM
  3. Need help with audio library on DOS...
    By Marton79 in forum C Programming
    Replies: 10
    Last Post: 08-25-2006, 12:32 AM
  4. dll files and library files
    By Boomba in forum C++ Programming
    Replies: 1
    Last Post: 06-11-2004, 10:09 AM
  5. reinserting htm files into chm help files
    By verb in forum Windows Programming
    Replies: 0
    Last Post: 02-15-2002, 08:35 AM

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