I am working on a windows environment, I have a MySQL database (5.0), the compiler I am using is visual C++, I want to connect to the database, query the database, populate data using C++ code, are there any libraries available for this, if not does anyone know about any sample code/tutorial that can help is writing code to establish database connectivity.
C++ database libraries for MySQL connection?
You can use the mysql ODBC drivers
http://dev.mysql.com/downloads/connector...
Then use the ODBC classes provided in Visual C++
Or, if you want pure native C++ classes, check out
http://tangentsoft.net/mysql++/
Have fun
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment