zade <zh**********@gmail.comwrites:
I want to create a library with c interface but with c++
implementation. But I don't know if there exist some potential
problems.
Any advice? thanks!
C doesn't define an interface to C++.
C++, however, does define an interface to C, using 'extern "C"'.
So despite the fact that your question has to do with both C and C++,
comp.lang.c++ is the right place to ask it.
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"