Page 1 of 1

how to create query from C++ to PostgreSQL DB

PostPosted: Sat Aug 29, 2009 4:50 pm
by TROM
Please give me simple example
What I must include in C++ code, maybe some headers files
and text of the query

Re: how to create query from C++ to PostgreSQL DB

PostPosted: Sat Aug 29, 2009 5:33 pm
by kraada
You'll want to take a look at the documentation for libpqxx, see here. The general PostgreSQL documentation is probably worth a read as well.