Thread: Different Library Versions Help

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    1

    Different Library Versions Help

    I have a program the combines many C libraries with a C++ interface. The problem is that i have many different versions of the libraries, all with the same name. Is there a way to do something to my code so that the functions know which library to use, without rewritting the entire code and every function call?

  2. #2
    Registered User
    Join Date
    Jun 2002
    Posts
    43
    you may want to use:

    #ifndef (header name)
    #define (header name)

    list your libraries here----

    #endif

    so it will only define/include libraries that have not been defined or included yet...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. What's an import library?
    By chiefmonkey in forum C++ Programming
    Replies: 1
    Last Post: 06-19-2009, 05:00 PM
  2. Property Set Library (PSL) - Announcement
    By vultur_gryphus in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 05-29-2008, 06:04 AM
  3. Makefile for a library
    By sirmoreno in forum Linux Programming
    Replies: 5
    Last Post: 06-04-2006, 04:52 AM
  4. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 07:55 AM
  5. better c string functions
    By samps005 in forum C Programming
    Replies: 8
    Last Post: 11-04-2003, 01:28 PM