We use MySQL C API to work with a MySQL server. It is developed/supported by the MySQL developers and is undoubtedly the fastest way to work with a MySQL server.
We dont have knowledge of either MySQL++ or mysqlcpp. I believe it all boils down to your language preference – whether you like C or C++.
Try each of them and find out which one suits you the best.