Thread: Including Libraries

  1. #1
    NotRegisterd;)
    Guest

    Arrow Including Libraries

    What do I do in my source code to include libraries, not .h's but .lib's.

  2. #2
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    same as for .h (if you want it in your source)

    or you can link it, which is diff. for every compiler...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  3. #3
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    You have to link it. Including it means you will be putting its code in with yours, which is impossible as a lib file is not human-readable code.

    lib means its a Borland dynamic link library. Look for the free borland compiler.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Can we have vector of vector?
    By ketu1 in forum C++ Programming
    Replies: 24
    Last Post: 01-03-2008, 05:02 AM
  2. C++ std routines
    By siavoshkc in forum C++ Programming
    Replies: 33
    Last Post: 07-28-2006, 12:13 AM
  3. Including libraries in project?
    By elliptic in forum C Programming
    Replies: 5
    Last Post: 06-05-2006, 03:09 PM
  4. (printf VS cout) and (including libraries)
    By \cFallen in forum C++ Programming
    Replies: 3
    Last Post: 01-20-2003, 09:47 PM
  5. Including libraries
    By Unregistered in forum Game Programming
    Replies: 1
    Last Post: 07-28-2002, 07:57 PM