Re: How to connect via C++?

Поиск
Список
Период
Сортировка
От J. T. Vermeulen
Тема Re: How to connect via C++?
Дата
Msg-id 20010515131825.L14645@cistron.nl
обсуждение исходный текст
Ответ на How to connect via C++?  (Maxim Maletsky <maxim@japaninc.com>)
Список 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 по дате отправления:

Предыдущее
От: Carlos Moreno
Дата:
Сообщение: Re: C++ interface on RH Linux 6.2
Следующее
От: "Michael Ansley (UK)"
Дата:
Сообщение: RE: How to connect via C++?