Reputation: 6249
I want to do simple stuff like adding entries and reading entries by index. What libraries are there and which ones are the best?
Upvotes: 2
Views: 772
Reputation: 8907
If you not worried about HUGE concurrency then use SQLite (www.sqlite.org). Download the aggregated version and you only have 2 files: sqlite3.h and sqlite3.c. It's REALLY easy to use and requires no server set up or configuration.
Upvotes: 0
Reputation: 20618
SQLite would be a good simple SQL database engine, with a simple embedded C++ interface.
SQLAPI++ would be a good choice for many commercial SQL databases (Oracle, SQL Server, DB2, Sybase, Informix, InterBase, SQLBase, MySQL, PostgreSQL, SQLite and ODBC)
Upvotes: 4
Reputation: 28573
One option is to use Microsoft's SQL Server Compact Edition. It is free, and has Visual Studio integration.
You can download it and find out more at the following link: SQL Server Compact Edition
Upvotes: 3