If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > connect to database using c++

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 06-02-06, 03:29
danny75 danny75 is offline
Registered User
 
Join Date: May 2006
Posts: 2
connect to database using c++

hi guys,
can anyone tell me how to connect to the database(any server) using c++. do i have to download any api's? if yes, can you direct me to any site.
Reply With Quote
  #2 (permalink)  
Old 06-08-06, 08:13
jwenting jwenting is offline
Registered User
 
Join Date: Apr 2003
Posts: 40
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.
Reply With Quote
  #3 (permalink)  
Old 08-30-06, 05:19
Scott_Higgins Scott_Higgins is offline
Registered User
 
Join Date: Aug 2006
Posts: 31
i reccomend OCCI and oracle..
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On