C++ connect with oracle on linux

rahulonly4u's Avatar, Join Date: Sep 2010
Go4Expert Member
Hi,

I want to connect my c++ code (running on Linux platform) to Oracle database which exist on another Remote Linux machine working with Netbeans IDE 6.9.1 (GCC compiler 4.1.2) please help me how i can connect my c++ code to Oarcle existing on remote machine

Thanks And Regards
Rahul
shyam_oec's Avatar, Join Date: Nov 2007
Contributor
To connect to Oracle from C++ you have to use OCI API.Please refer this
rahulonly4u's Avatar, Join Date: Sep 2010
Go4Expert Member
i m using this instant client but m not getting occi.h in this and where from i get complete setup for this and how to configure it to connect to oracle exist on remote Linux machine AND at client Linux machine i don't have any oracle installation

Last edited by rahulonly4u; 3Mar2011 at 14:26..
shyam_oec's Avatar, Join Date: Nov 2007
Contributor
Quote:
Originally Posted by rahulonly4u View Post
i m using this instant client but m not getting occi.h in this and where from i get complete setup for this and how to configure it to connect to oracle exist on remote Linux machine AND at client Linux machine i don't have any oracle installation
This link may help...try this