Обсуждение:

Поиск
Список
Период
Сортировка

От
"chandan pankaj"
Дата:
hi
 
i am a new user of pgsql and i am having problem using it. if u could help me out that would be good of u. i have got pgsql with Red Hat Linux 7.2
 
I want to do connection with c++. After the installation of Linux and pgsql what r the steps i must take to connect it with C++.
i have just installed it and done nothing. i mean there would be some path setting or configuration. please let me know abt that in detail.
 
chandan.

Re:

От
Carlos Moreno
Дата:
chandan pankaj wrote:

> hi
>
> i am a new user of pgsql and i am having problem using it. if u could
> help me out that would be good of u. i have got pgsql with Red Hat
> Linux 7.2
>
> I want to do connection with c++. After the installation of Linux and
> pgsql what r the steps i must take to connect it with C++.
> i have just installed it and done nothing. i mean there would be some
> path setting or configuration. please let me know abt that in detail.
>


There may be more and better tutorials available out there,
but I wrote this one for my students in a CGI course:

http://www.mochima.com/webtech/sql.html

Actually, it's not even a tutorial;  it's just a basic
example, but it should get you started; you can then check
the online documentation, in the section "Client interfaces",
and look for libpq++

HTH,

Carlos
--