Re: How to connect via C++? - Mailing list pgsql-interfaces

From J. T. Vermeulen
Subject Re: How to connect via C++?
Date
Msg-id 20010515131825.L14645@cistron.nl
Whole thread Raw
In response to How to connect via C++?  (Maxim Maletsky <maxim@japaninc.com>)
List 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



pgsql-interfaces by date:

Previous
From: Carlos Moreno
Date:
Subject: Re: C++ interface on RH Linux 6.2
Next
From: "Michael Ansley (UK)"
Date:
Subject: RE: How to connect via C++?