I have been writing a program that accesses data via a text file. I have recently been turned on to MySql which seems like it would be a more efficient way of organizing my data. If I am using Visual Studios to create both my database and my C++ program how would I go about doing such a thing? (I have done a little bit of research on the subject and I found something about needing a "plugin" or an attachment of some sort, but I wasn't sure if it applied to my situation.)

Any help will be greatly appreciated

-Derek

Download and install MySql++. Its a free c++ class for MySQL databases. Of course you will have to have MySQL installed on your computer.

If you have VC++ 2008/2010 Pro or better edition I believe it has all the plugins you need to create and maintain databases. But if you have the Express edition then you need either MySQL++ or use ODBC API calls.