如何使用visual studio 2012在c ++中连接数据库 [英] how to connect database in c++ using visual studio 2012

查看:111
本文介绍了如何使用visual studio 2012在c ++中连接数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我还没有学习数据库,但我的学期项目需要数据库,所以请帮我连接数据库。

I haven't study database yet but my semester project required database, so please help me in connecting to database.

推荐答案

hi,

如果你提到你感兴趣的是哪个数据库会更有帮助。

Oracle是一个对象关系型数据库管理系统。要连接Oracle数据库,您可以使用OCI。查看此处 [ ^ ]了解更多信息。你可能还需要谷歌更多。



MySql是另一个受欢迎的数据库。我发现这个链接 [ ^ ]很有帮助。

这些接口库并非特定于VS2012,只是通过文献来确定哪些版本与您选择的IDE兼容。

您可能会发现它有助于启动通过构建示例程序并运行它们。



希望这有帮助!

it would have been more helpful had you mentioned which database are you interested in.
Oracle is an object-relational database management system. To connect with an Oracle database you can use OCI. Look here[^] for more. You might still have to google more on this.

MySql is another popular database. I found this link[^]helpful.
These interfacing libraries are not specific to VS2012 but just go through the literature to make sure which versions are compatible with your IDE of choice.
You might find it helpful to start by building the sample programs and running them.

hope this helps !


这篇关于如何使用visual studio 2012在c ++中连接数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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