Thread: Accessing C++ library from C code

  1. #1
    Registered User
    Join Date
    Jun 2004
    Posts
    23

    Accessing C++ library from C code

    Hi I need to have different options or resources which I can explore to access certain functions from C++ library into my C code.

    Ideally I want to use the entire C++ library (OPENNURBS library) but I don't think that is possible so some specific functions would do.

    I have heard about somethign called the wrapper functions.
    So if anyone knows about that do let me know.

    Regarding C code all files ahve extension .c otherwise if they were .cpp maybe they would have worked with the C++ library. I am not sure..though

    I am using VC 6.0

    thanks
    Nipun

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Property Set Library (PSL) - Announcement
    By vultur_gryphus in forum Projects and Job Recruitment
    Replies: 0
    Last Post: 05-29-2008, 06:04 AM
  2. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 07:55 AM
  3. Problem : Threads WILL NOT DIE!!
    By hanhao in forum C++ Programming
    Replies: 2
    Last Post: 04-16-2004, 01:37 PM
  4. virtual library
    By spentdome in forum C Programming
    Replies: 0
    Last Post: 04-17-2002, 08:06 AM
  5. Replies: 4
    Last Post: 01-16-2002, 12:04 AM