[try Beta version]
Not logged in

 
MySql with C++

Nov 11, 2010 at 7:03pm
Hey, ive search the net and cant find any good tut on connecting a database in C++. So does anyone knw where i can download a good tut explaining how to use sql in C++ and how to connect to a database using MySql software...
Thanks
Ross
Nov 11, 2010 at 7:30pm
Nov 12, 2010 at 1:02pm
I knw this is gonna be a noob question, but how do i add the header files into the Visaul Studio 2010 library?
Nov 12, 2010 at 4:13pm
After you download and compile the library... follow these steps:

http://tangentsoft.net/mysql++/doc/html/userman/incorporating.html#inc-vstudio
Nov 12, 2010 at 5:39pm
OCCI is the best library for connecting to oracle database from C++.

http://download.oracle.com/docs/cd/B12037_01/appdev.101/b10778/introduction.htm
Nov 15, 2010 at 3:14am
OCCI is the best library for connecting to oracle database from C++.


I have the opportunity to test out OCI vs Pro*C and to my surprise Pro*C (Oracle 10g) has advanced so much that the timing I get is very very CLOSE to OCI. For most cases, Pro*C should suffice and it is much easier to code and debug. My few cents worth of opinion :)
Topic archived. No new replies allowed.