data base through C


how to connect database through a C program can we write a program in C to connect to database if yes then how if no then why?

I am just using code blocks IDE & oracle database
Which kind of database.

-In the C/C++ programme
OR
-Elsewhere

In the C++ programme, YES!!!
Using STL containers like:
-Vectors
-Linked Lists

Elsewhere
I don't know, but I think yes...maybe through File I/O with the fstream header file
Google "Oracle C++ Call Interface"
There are many libraries out there for connecting to and manipulating databases. Here's one:
http://orclib.sourceforge.net/
SQLAPI http://www.sqlapi.com/ is pretty easy to use and can work with many different db's (mysql, mssql, oracle...)
sqlapi is nice. I used it once awhile back to connect to a mssql server. Was pretty easy to use and get going
Topic archived. No new replies allowed.