In regards to
Query querya = conn.query("select * from program_categories");
StoreQueryResult res = querya.store();
cout << res[0]["name"] << endl;
/* I notice that sometimes I can do this and it compiles and other times I
try somthing very much like the 'cout' line above and I am forced to convert
from a 'mysqlpp::String' type to a 'string' type in I guess what is the
generally accepted way string temp = string(qstring.data(),qstring.length)
where 'mysqlpp::String qstring = //some String variable. */
/* I am trying to determine specifically why in some cases the conversion is
necessary and in some cases it doesn't seem to be. */
Thanks,
Eric