Database Programming in C
2 answers
The standard standard for connecting to a database is ODBC, which is a C API. This Wikipedia link contains an overview and many links to other resources.
+6
anon
a source
to share
You can use ODBC. But this is not a good idea, the reason for the performance impact it can have on your application.
The answer to your question is yes. All major databases provide some api for you so that you can communicate directly with your database.
The only problem with your question is that you forgot to specify which operating system you will be developing on. The only api I can remember right now for majors databases is libpq (for PostgreSQL). Usually on the developer's website one can find apis for languages like C and C ++.
0
a source to share