Re: How to connect via C++?

From: "J(dot) T(dot) Vermeulen" <jtv(at)cistron-office(dot)nl>
To: Maxim Maletsky <maxim(at)japaninc(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: How to connect via C++?
Date: 2001-05-15 11:18:25
Message-ID: 20010515131825.L14645@cistron.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Mon, 14 May 2001, Maxim Maletsky wrote:

> There's a task I want to do with C++, it also includes reading from and
> writing to a PostgreSQL database.
>
> How do I do that on C++?
>
> What libraries are?

Use either libpq++ (C++ library), or if you're into that kind of thing, use
the C library libpq directly. In the latter case of course, remember to
include the headers in extern "C" blocks as usual. Either way you'll probably
have to look through the libpq documentation.

> Compilers?

Whatever works. Try g++.

Jeroen

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Michael Ansley (UK) 2001-05-15 11:53:10 RE: How to connect via C++?
Previous Message ROMAN Andres Carlos 2001-05-15 09:51:04 Searchin libpq.dll & libpq++.dll