I am using the MYSQL C API and I have a MYSQL_ROW object that I would like to convert to a string. Does anyone know how to do this? I haven't found anything in the API's doc yet.
string str = (string)row[0] <-- runtime error
P.S. I tried casting it to a string but it doesn't work