Is it possible to use C++ dynamic libraries in C programs? I managed to link a C++ library and use functions declared with extern "C", but I obtain errors if I use standard C++ objects like "cin", "cout". How can I build a C API to solve ths problem and link C++ software in C programs?
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.