From: J. T. Vermeulen <jtv@cistron-office.nl>
To: Maxim Maletsky <maxim@japaninc.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: How to connect via C++?
Date: Tue, 15 May 2001 13:18:25 +0200
Message-ID: <20010515131825.L14645@cistron.nl> (raw)
In-Reply-To: <DC017B079D81D411998C009027B7112A015ED1B2@EXC-TYO-01>
References: <DC017B079D81D411998C009027B7112A015ED1B2@EXC-TYO-01>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: jtv@cistron-office.nl, maxim@japaninc.com
Subject: Re: How to connect via C++?
In-Reply-To: <20010515131825.L14645@cistron.nl>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox