开发者

Looking for a C++ database library that works with Visual Studio 2008/2010 [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, 开发者_如何学运维and more. You can edit the question so it can be answered with facts and citations.

Closed 8 years ago.

Improve this question

I'm looking for a C++ libraries that can work with Visual Studio 2008/2010, but not MS-SQL. Since MySql is the first database application that I used, it would be much helpful if it also can work with MySql. I had a bad experience with setting up MySqlConnector in Visual Studio. It was such a nightmare, it was so difficult to set up the environment. The reason that I like Visual Studio because of Visual Assist and ViEmu. I feel very unproductive without these two tools. So my priority will follow this order:

Update

0. Cross platform, not specific to Windows. ( I only like Visual Studio not MS )

1. Easy to set up with Visual Studio.

2. Has similar design to STL C++. I'm a fan of STL C++.

3. Light weight since I'm still a student, and I only want to experiment.

Thanks,

Chan


I think SQLite might be a good choice, it's massively supported with ADO.NET.

Read this post, it might give you few aspects on data access from C++.

Update
Read this post to have more on SQLite~C/C++ (no MS).
BTW, many big companies use SQLite.

I am not sure if it stays in the same criteria with MySql.


If MySQL is what you are familiar with, then perhaps you should use MySQL++. The FAQ section discusses using it on VC++.

It seems to fit all your requirements except possibly "Easy to set up with Visual Studio" since that is entirely subjective, but download the code - compile the code - link the code seems fairly straightforward to me.


MySQL's native client has a C API (and therefore easily usable from C++)

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜