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

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -