Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am very new to MySql; I am very efficient in c++; I want to start a project which will be written in C++ and MySql;

The main spec of the demo will be: The program will query for one image from the database and show that in my C++ dialog based program;

So, as a start up can any one help me with some good documents and code snippets that will de similar kind of job;

As a basic learner I want it;

Thanks
Posted

1 solution

You may connect to a MySQL database in several ways, have look at "MySQL Connectors"[^] page.
Once you chose the connector, you may look for a code sample (for instance, supposing you chose the C++ connector, this would be the appropriate one: "21.4.6.5. MySQL Connector/C++ Complete Example 1"[^]).
 
Share this answer
 
Comments
Usman Hunjra 8-Apr-13 16:47pm    
Yep .. Agreed .. :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900