Connection to database

D

dnvsrikanth

Using some of the object-oriented languages like Java and VB we can
connect to a database. But by using C++ can we connect to a database?
If we can, how do we do so?
 
B

Bob Hairgrove

Using some of the object-oriented languages like Java and VB we can
connect to a database. But by using C++ can we connect to a database?
If we can, how do we do so?

We don't -- at least not using purely ANSI/ISO C++, which is the only
topic for this newsgroup.

We need to find an appropriate middleware, such as ODBC, OLEDB etc. or
else use the proprietary CLI (call-level interface) provided by our
DBMS vendor.

Then, if we are still stuck after we have RTFM, we can post to an
appropriate newsgroup for the OS/middleware/API in question.
 
M

Mike Wahler

Using some of the object-oriented languages like Java and VB we can
connect to a database. But by using C++ can we connect to a database?

Yes, it's very likely.
If we can, how do we do so?

By reading the database product's documentation and
following its instructions.

Your question is not a C++ language question, so
is not topical here.

-Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,197
Messages
2,571,040
Members
47,634
Latest member
RonnyBoelk

Latest Threads

Top