how to connect the database using c++

jmallikarjun's Avatar, Join Date: Nov 2011
Newbie Member
Hi Everyone,

I want to connect the database using c++ or c language.
how to connect .Can you explain ............................
bparker1084's Avatar
That would all depend on the database and the platform. If you're connecting to an ODBC compatible database, you need of course ODBC drivers on each workstation and program against the ODBC API. If you are going to use a native interface to your database, you need custom libraries from your database vendor, possibly specific for your compiler as well.