Accessing C++ library from C code

This is a discussion on Accessing C++ library from C code within the C Programming forums, part of the General Programming Boards category; Hi I need to have different options or resources which I can explore to access certain functions from C++ library ...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,752
    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.

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, 07:04 AM
  2. very weird .h problem
    By royuco77 in forum C++ Programming
    Replies: 1
    Last Post: 09-11-2005, 08:55 AM
  3. Problem : Threads WILL NOT DIE!!
    By hanhao in forum C++ Programming
    Replies: 2
    Last Post: 04-16-2004, 02:37 PM
  4. virtual library
    By spentdome in forum C Programming
    Replies: 0
    Last Post: 04-17-2002, 09:06 AM
  5. Replies: 4
    Last Post: 01-16-2002, 12:04 AM

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