What is a good database with support for C? I want a database that can persist changes when the program is closing and retrieve them when the user starts up the program. I was thinking maybe like SQLite or Berkeley DB. Some documentation would be great too. I just need a database with a library for C. It will be used locally to store simple information like a key (of char *) that corresponds with a value (of char *)
For embedded data, try SQLite.
Although if it's just program settings for a single instance of the program, an XML file might be your best bet. There are lots of freely-available XML parsers for C.
PostgreSQL comes with libpq, which is a C library.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With