By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,514 Members | 1,741 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,514 IT Pros & Developers. It's quick & easy.

C Or C++ Connectivity With Orcle Database

P: 1
How Can We Connect Our C Or C++ Language With The Oracle Database
If You Have Any Solution Plz Send Me Quickly
May 24 '07 #1
Share this Question
Share on Google+
2 Replies


sicarie
Expert Mod 2.5K+
P: 4,677
How Can We Connect Our C Or C++ Language With The Oracle Database
If You Have Any Solution Plz Send Me Quickly
What have you tried on this? Where are you getting stuck?
May 24 '07 #2

weaknessforcats
Expert Mod 5K+
P: 9,197
What you do is write Oracle macro statements in your C++ program. Consult Oracle for these. They will be things like OpenDatabase, etc.

Next, you run your C++ code through an Oracle-provided preprocessor which changes those Oracle macros into the actual C calls required to do the job. Then you send the Oracle-preprocessed file you your C++ build and off you go.

All of this is documented by Oracle for you.
May 24 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.