Connecting Tech Pros Worldwide Help | Site Map

Connection to database

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 22nd, 2005, 11:31 PM
dnvsrikanth@gmail.com
Guest
 
Posts: n/a
Default Connection to database

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?


  #2  
Old July 22nd, 2005, 11:31 PM
Mike Wahler
Guest
 
Posts: n/a
Default Re: Connection to database


<dnvsrikanth@gmail.com> wrote in message
news:1105209063.717115.129270@c13g2000cwb.googlegr oups.com...[color=blue]
> 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?[/color]

Yes, it's very likely.
[color=blue]
> If we can, how do we do so?[/color]

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


  #3  
Old July 22nd, 2005, 11:31 PM
Bob Hairgrove
Guest
 
Posts: n/a
Default Re: Connection to database

On 8 Jan 2005 10:31:03 -0800, dnvsrikanth@gmail.com wrote:
[color=blue]
>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?[/color]

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.

--
Bob Hairgrove
NoSpamPlease@Home.com
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,840 network members.