Problem solve Get help with specific problems with your technologies, process and projects.

Linking database with C/C++ applications

I am a final year student studying Business Info Systems in DIT, Ireland. As part of our course I have to design a final year project. I have my idea but am unsure of how I actually go about doing it. I am designing a software application wriiten in C/C++ and would like to have an Oracle database in the background storing all old and newly processed data. My software application will be the end-user interface, while my database does all the storage.

My problem is that I am totally clueless on how I link up the two objects (database & software application). I would be extremely grateful if you could point me in the right direction. Thanks for your time, and I look forward to hearing from you in the near future.

To link an application program to an Oracle database, you some sort of interface. How this is done depends on your application programming language. For instance, Perl programs will use the Oracle DBI module. C++ programs can use Oracle's Pro*C precompilers or the Oracle Call Interface (OCI). Java programs use JDBC drivers and java SQL packages. Each method is slightly different, so you'll have to look up documentation for each. You can find many resources on Oracle's Technet site. You'll need to register for an account, but it is free. There, you will find many code samples, especially for C++ and Java development platforms.

For More Information

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.