Database connections with ANSI C — is it possible and how?

I am trying to make a system that stores user account details in C. I know the storing of data could be done by writing all the data into files but I was wondering if their is any other way to store information like maybe a connection with some database application like MySQL etc. I don't know if that's possible.

Upvotes: 0

Views: 417

Answers (1)

EvgeniyZh
EvgeniyZh

Reputation: 905

SQLite is embedded database which means you just include its source code into your project and it's written in C. So you just add header and call functions directly from your code. It has a pretty good manual. Yet, database storage might be too complicated if you have small amount of data.

Upvotes: 2

Related Questions