C ++和MySql中的基本编码 [英] Basic coding in C++ and MySql

查看:78
本文介绍了C ++和MySql中的基本编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是MySql的新手;我在c ++方面非常有效率;我想开始一个用C ++和MySql编写的项目;



演示的主要规格是:程序将从数据库中查询一个图像并在我的基于C ++对话框的程序中显示;



所以,作为一个启动,任何人都可以帮助我提供一些好的文档和代码片段,类似于工作;



作为基本学习者我想要它;



谢谢

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

推荐答案

您可以通过多种方式连接到 MySQL 数据库,查看MySQL连接器 [ ^ ]页面。

选择连接器后,您可能会查找代码示例(例如,假设您选择 C ++ 连接器,这将是合适的: 21.4.6.5。 MySQL Connector / C ++完成示例1 [ ^ ])。
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"[^]).


这篇关于C ++和MySql中的基本编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆