Re: c++ program to connect to postgre database

Поиск
Список
Период
Сортировка
От Rainer Bauer
Тема Re: c++ program to connect to postgre database
Дата
Msg-id 7tfb55pdvifgjf6dco33buseao1ff5k507@4ax.com
обсуждение исходный текст
Ответ на c++ program to connect to postgre database  (ramon rhey serrano <ramonrheyserrano@yahoo.com>)
Ответы Re: c++ program to connect to postgre database
Список pgsql-general
John R Pierce schrieb:

>ramon rhey serrano wrote:
>> Hi Sir John,
>>
>> Thanks for the links and reply.
>> I downloaded this "libpqxx-3.0" but i really don't know what to do
>> with the file and where to put them. I'm still having hard time how to
>> start the C++ program using Dev C++ as my IDE, what files do i need to
>> install, what headers to use, how the basic flow of program should
>> look like (maybe for a simple database connection). I already
>> installed PostgreSQL version 1.8.4 in my PC (windows). I have basic
>> understanding and background in C++ programming, but totally new to
>> PostgreSQL database system.
>
>as I said earlier, I'd probably just use C API calls to libpq, and do my
>own C++ wrappings.    C++ libraries pretty much have to be compiled for
>the speciifc compiler environment, so I'd have to assume youd load the
>libpqxx project source into your IDE, and build it.

The best C++ library I came across so far is SOCI:
<http://soci.sourceforge.net/>

Maybe this could be a good starting point for Ramon since he is familiar with
C++.

Rainer

В списке pgsql-general по дате отправления:

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Table replication
Следующее
От: Peter Geoghegan
Дата:
Сообщение: Re: c++ program to connect to postgre database