2

What are the suitable database for Visual Studio C++? How could I connect a database to C++?

2
  • 3
    suitable? What are your requirements? Feb 7, 2011 at 1:47
  • Pretty much all of them are suitable :) If you want to just learn the ropes, stick with SQL Server Express, since it comes with VStudio (or can be downloaded for free), requires very little configuration and has a pretty advanced SQL (you hear me, SQLite?). Feb 7, 2011 at 2:06

4 Answers 4

4

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

0
1

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

0

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.

0

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.