Re: Migrating from C to C++
Hi Denise --
Have a look here:
http://www.parashift.com/c++-faq-lite/mixing-c-and-cpp.html
Then I would read the mysql header files. I'm willing to bet that each of the function prototypes is bracketed by extern c { }. If that is so, then you /should/ (if I understand c++ linking correctly) be able to link your c++ code with the mysql library just as you do now with your c progs.
And don't forget there's a Connector/C++ forum here:
http://forums.mysql.com/list.php?167
HTH
-- pete
Edited 1 time(s). Last edit at 01/29/2011 07:33PM by Pete Wilson.
Subject
Views
Written By
Posted
932
January 25, 2011 05:38PM
Re: Migrating from C to C++
471
January 29, 2011 07:09PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.