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? Commented 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?). Commented 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.

Sign up to request clarification or add additional context in comments.

Comments

1

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

Comments

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.

Comments

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.

Comments

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.