Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linking C++ libs from C

Status
Not open for further replies.

3d3rosa

Programmer
Jul 5, 2000
4
IT
Is it possible to link in a C program a C++ shared library? I managed to do it but only if my shared library doesn't contain C++ "stuff" like "cout" or "cin". When I build a program linking my C++ lib the C linke can't find "magled" C++ names of "cout" and "cin" objects.
Is it possible to build a C API to use a dynamic C++ library? If it is , how can I do it?

thanks

3d3rosa [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top