how to create query from C++ to PostgreSQL DB

Please give me simple example
What I must include in C++ code, maybe some headers files
and text of the query
What I must include in C++ code, maybe some headers files
and text of the query
https://staging.pokertracker.com/forums/
https://staging.pokertracker.com/forums/viewtopic.php?f=17&t=22308