Connecting Tech Pros Worldwide Help | Site Map

Connection to database

  #1  
Old July 23rd, 2005, 12:31 AM
dnvsrikanth@gmail.com
Guest
 
Posts: n/a
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 23rd, 2005, 12:31 AM
Mike Wahler
Guest
 
Posts: n/a

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 23rd, 2005, 12:31 AM
Bob Hairgrove
Guest
 
Posts: n/a

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
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
oleDBExecption 0x80004005: ODBC --- connection to 'Database' Faile =?Utf-8?B?c25henp5?= answers 1 November 10th, 2008 07:55 PM
Secure connection to database Fariba answers 3 March 31st, 2006 06:55 PM
Connection to database RedRed answers 4 November 19th, 2005 06:48 AM
website connection to database time out problem : login failed for user 'NT AUTHORITY\ANONYMOUS LOGON' Maellic answers 3 November 18th, 2005 02:55 AM
howto make a connection to database available in my classes. Digital Fart answers 4 November 17th, 2005 12:59 PM