I took code from http://ift.tt/ItQslB
To use it with my program and on void getTableData() function i have error
// print or format the output as you want
std::cout << s << std::endl;
Error
Error 1 error C2679: binary '<<' : no operator found which takes a right-hand operand of type 'std::string' (or there is no acceptable conversion)
String s is
string s = (char*)sqlite3_column_text(statement, i);
Aucun commentaire:
Enregistrer un commentaire