Read the documentation and look for examples and tutorials. In managed C++, you'd open a connection, issue an command and read the results.
Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)