时间:2019-05-10标签:c ++ connectaddupdatedeleteinsertselect [英] c++ connect add update delete insert select

查看:87
本文介绍了时间:2019-05-10标签:c ++ connectaddupdatedeleteinsertselect的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是C ++的新手.我想知道如何连接到数据库并执行添加,更新,插入,选择,删除命令.
我正在使用Microsoft Visual Studio和MS SQL X的C ++控制台应用程序| X | X |

解决方案

我已为您删除了重复的问题.如果您需要添加详细信息,请编辑您的帖子,不要发布新问题.

ADO是用于连接到SQL数据库的库.如果您不熟悉C ++,建议您下载C#并使用它,因为C ++中的数据库访问并非易事,而且涉及大量内存管理,因此在尝试使用C ++之前,应先了解C ++是一种语言.

先生,我对c#有所了解,
我希望您可以在c ++中对我有所帮助


Christian敦促您使用C#是有充分理由的.它与C ++一样好,并且更易于使用.
我谦虚地建议您花一些时间和精力来学习如何使用c#.

(嘿,您用C#4.0标记了此消息)


I am new in C++. I want to know how to connect to the database and execute add, update, insert, select, delete commands.
I am using C++ console application of Microsoft Visual Studio and MS SQL X| X| X|

解决方案

I deleted your duplicate question for you. Edit your post if you need to add detail, don''t post a new question.

ADO is the library you use to connect to a SQL database. If you''re new to C++, I suggest you download C# and use that instead, database access in C++ is not trivial, and involves a lot of memory management, you should know C++ as a language before you attempt that.


sir i know a little bit in c#,
i hope you may help me in c++


Christian was urging you to use C# for a good reason. It is just as good as C++ and much easier to use.
I humbly suggest you take the time and effort to instead learn how to use c# for this.

(and hey, you tagged this message with C#4.0 ???)


这篇关于时间:2019-05-10标签:c ++ connectaddupdatedeleteinsertselect的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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