Different Library Versions Help

This is a discussion on Different Library Versions Help within the C++ Programming forums, part of the General Programming Boards category; I have a program the combines many C libraries with a C++ interface. The problem is that i have many ...

  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
    smd
    smd is offline
    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, 12:28 PM

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