开发者

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

开发者 https://www.devze.com 2023-02-09 12:16 出处:网络
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 s

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

精彩评论

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