#1 Le 21/06/2022, à 11:40
- o_live
code block wxgrid sqlite comment lire un typedef ?
Bonjour
j'ai ceci de delcarer
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
Caractéristiques: PC Portable Gamer MSI GP73 8RE-480XFR Leopard
17.3'' Full HD (1920 x 1080) 120 Hz - Intel Core i7-8750H Hexa Core 2.2 GHz - 16 Go DDR4 - SSD 128 Go - HDD 1 To - Nvidia GeForce GTX 1060 - Sans OS
Installation mutiboot Windows 11 & Ubuntu 24.04.1 LTS
Hors ligne