Calling c function in a lib file from c++ -
i have call c function declared in lib file c++. instructions/attributes/configuration have set this?
do have header file library? if should have
extern "c" { blah blah }
stuff in allow used c programs. if not, can put around include statement header in own code. e.g.
extern "c" { #include "imported_c_library.h" }
Comments
Post a Comment