C++ connect with oracle on linux

Discussion in 'C++' started by rahulonly4u, Mar 3, 2011.

  1. rahulonly4u

    rahulonly4u New Member

    Joined:
    Sep 6, 2010
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    software developer
    Location:
    india
    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
     
  2. shyam_oec

    shyam_oec New Member

    Joined:
    Nov 26, 2007
    Messages:
    89
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Software Developer, .NET Framework
    Location:
    Jamshedpur
    To connect to Oracle from C++ you have to use OCI API.Please refer this
     
  3. rahulonly4u

    rahulonly4u New Member

    Joined:
    Sep 6, 2010
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    software developer
    Location:
    india
    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: Mar 3, 2011
  4. shyam_oec

    shyam_oec New Member

    Joined:
    Nov 26, 2007
    Messages:
    89
    Likes Received:
    1
    Trophy Points:
    0
    Occupation:
    Software Developer, .NET Framework
    Location:
    Jamshedpur
    This link may help...try this
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice