mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-04 09:46:02 -04:00
Corrected example for Windows
This commit is contained in:
parent
a868afa4e2
commit
4274b662a6
@ -77,7 +77,7 @@ int main (void)
|
||||
std::string value = query.getColumn(1); // = query.getColumn(1).getText()
|
||||
int size = query.getColumn(2); // = query.getColumn(2).getInt()
|
||||
|
||||
std::cout << "row : (" << id << ", " << value << ", " << size << ")\n";
|
||||
std::cout << "row : (" << id << ", " << value.c_str() << ", " << size << ")\n";
|
||||
}
|
||||
|
||||
// Reset the query to use it again
|
||||
|
Loading…
x
Reference in New Issue
Block a user