|
SQLite3 & AGUP list trouble |
Raf Vermeulen
Member #7,166
April 2006
|
I'm quite stuck (again::)). I want to read in all records from an SQLite3 table and show them in a list (the type you can select something in). This's the example code: The problems start to arise as soon as I want to change the 10 to the amount of records. I've got to remove the static then, which gets other parts to complain (especially either assigning a string like "test" to it, or in the return items[index] or due to the function's return type). Anybody here able to put me in the right direction? Thanks in advance. |
CGamesPlay
Member #2,559
July 2002
|
I don't understand what the above code bit has anything to do with either SQLite3 or AGUP. I also can't understand the words below the code. -- Ryan Patterson - <http://cgamesplay.com/> |
Raf Vermeulen
Member #7,166
April 2006
|
That's part of the example code from AGUP, which creates the contents of a list-box. The words underneath basically mean that it got me to fiddle 'round and 'round to get it to work. It currently got me to this:
It works fine, and the cout comes on, but then the whole program crashes. The function's called in this code:
|
|