code block wxgrid sqlite comment lire un typedef ?
Bonjour
j'ai ceci de delcarer
Code:
1 2 3 4 5 6 7
|
typedef int (*sqlite3_callback)(
void* a, /* Data provided in the 4th argument of sqlite3_exec() */
int nbColomns, /* The number of columns in row */
char**Tbfield, /* An array of strings representing fields in the row */
char** TbColomnsName /* An array of strings representing column names */
) ; |
Comment faire pour le lire et l'utiliser dans un wxGrid ?
Je me sert ceci https://www.tutorialspoint.com/sqlite/sqlite_c_cpp.htm
partie SELECT Operation
comment faire apres l'instruction /* Execute SQL statement */
rc = sqlite3_exec(db, sql, callback, (void*)data, &zErrMsg);
et recuperer les données ?
merci