I want to make a query in C++ using the MySQL++ API.
Here is my problem, in PHP for example I make something like this:
$query = "SELECT * FROM table1 WHERE id = " . $value;
In C++ I can't do that. I need a way to make $value be part of the query string. I know it is a silly question, but can someone help me find this answer?
Thank You