原帖由 SybaseLU 于 2007-8-7 09:45 发表
Definitely, I try putting implementation of those functions in the header, everything goes well and work out nice. It's seem that only god know why.
原帖由 SybaseLU 于 2007-8-7 11:41 发表
Ok, let's go ahead. as for *.cpp project you should need the extern "C" only if you are calling a C function , vice versa, you should do the same for *.c project . for instance
b.cpp
#in ...
欢迎光临 Chinaunix (http://bbs.chinaunix.net/) | Powered by Discuz! X3.2 |