I know about Makefile,But i need to write a Makefile that i can communicate with pgsql & its library & header file from C++.
I'm afraid I still don't understand what you mean. If you are looking for C++ libraries so you can access a PostgreSQL database, then you probably want libpqxx:
http://gborg.postgresql.org/project/libpqxx/projdisplay.php
There's an older version at:
http://gborg.postgresql.org/project/libpqpp/projdisplay.php
There are two project sites for PostgreSQL, gborg is the older one, pgfoundry the new one.
http://pgfoundry.org/
Does that help at all?
-- Richard Huxton Archonet Ltd
---------------------------(end of broadcast)--------------------------- TIP 2: you can get off all lists at once with the unregister command (send "unregister YourEmailAddressHere" to majordomo@xxxxxxxxxxxxxx)