How can one connect to an SQL database in a C++ program? like in PHP we have:
$cmd = "some SQL command";
$query = pg_query($cmd);
(for connecting to PostgreSQL)
Thanks.
EDIT: Ok, nevermind, just figured it out...
How can one connect to an SQL database in a C++ program? like in PHP we have:
$cmd = "some SQL command";
$query = pg_query($cmd);
(for connecting to PostgreSQL)
Thanks.
EDIT: Ok, nevermind, just figured it out...
Last edited by Opel_Corsa; 01-05-2006 at 02:43 AM.