954,483 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Can we access Databases through C or C++

Hi,
I am new to this forum and this is my first message. I want to know can we accesss a database though C or C++. Are there any library files as such for the same.

Its nice to see that there is a lot of knowledge sharing in this forum. Thanks to the moderator and the members!!!

Regards
Mutyala Rao aripaka

aripaka
Light Poster
36 posts since Aug 2005
Reputation Points: 10
Solved Threads: 0
 

It depends on the operating system you are using, and sometimes the database. In MS-Windows, the most common way of accessing databases is through the ODBC driver. You can use raw ODBC API functions or one of the serveral free c++ classes found by searching google

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

Apart from ODBC common libraries, you would get database drivers that comes with the database itself. You can look for those as well.

----------------------

Programming ( Assignment / Project ) Help

proghelper
Light Poster
28 posts since Jun 2005
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You