Ok, I'm relatively new to using the mysqlpp library that is used in Visual Studio to connect to a MySQL database and am having trouble trying to convert a vector of type mysqlpp::String to a vector of type int. Does anyone have any experience with mysqlpp and would mind helping me out a little? I've posted an example of what I'm basically trying to do below that appears in my code. Assume the vector futureItemsets is already populated and I just want to copy over the contents into an integer vector. Thanks for any help you can provide!
vector<int> timeFrameItemsets;
vector<mysqlpp::String> futureItemsets;
for(int j = 0; j < static_cast<int>(futureItemsets.size()); j++) {
timeFrameItemsets.push_back(futureItemsets[j]);
}