开发者

How to connect Database in C++? What database to use?

What are the suita开发者_JAVA百科ble database for Visual Studio C++? How could I connect a database to C++?


Your choice of a database is fully dependent on your requirements. SQLite offers a nice and simple interface.


Beginners to Microsoft C++ should probably stick with SQL Server Express, since it is designed specifically to work with Visual Studio.


If you need a local database just for your application then check out SQLite. They have a C++ library that is quite easy to use and you interact with it via normal SQL syntax.


Most, if not all, popular DBMS provide a C connector. Some even provide a C++ one (generally a wrapper of the C driver).

So, I suggest you start by looking at which DBMS you want to use, then browse their documentation for how to obtain and use their driver.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜