dhaval257 wrote:
> I am new to postgres. I am doing Project on Image processing in OpenCV(IDE
> i am using is Visual C++ 2010). I have downloaded PostgreSQL 8.4 and
> installed it successfully. I want to know how to connect postgres with
> visual C++.
Use something more recent than 8.4 if you can.
You should be able to use the C API (libpq) from C++.
That's part of PostgreSQL core.
Alternatively, you can use the C++ connector libpqxx
(http://pqxx.org/development/libpqxx/)
Yours,
Laurenz Albe