DLLFUNC char* sqlite__select(char* buffer, int r, int c) { if (buffer != NULL) strcpy(buffer, result[r][c].c_str()); return buffer; }
void test_select () { int rows = sqlite_rows(); char buffer [256]; int ping; for (ping = 0; ping < rows; ping++) { printf("%s", sqlite_select(buffer, ping, 0)); printf("%s", sqlite_select(buffer, ping, 1)); printf("%s", sqlite_select(buffer, ping, 3)); } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de