結果を取得するためにmysqlの結果セットを使用しています。
次のような文字列配列で結果を取得したい
MYSQL_RES * res = mysql_store_result(mysql);
MYSQL_ROW行;
while((row = mysql_fetch_row(result)))
{{
string *result=row; //there is only one row in resultset
}
文字列*result= row;
エラーが発生します
エラー:初期化時にchar**をstd::string*に変換できません
文字列の使い方より?