Vinay Sambamurthy wrote:
Hi,
I am new to mySql++. I had a doubt regarding the result object.
I see that it supports functions to retreive values from the result
object. I needed to populate a result object given a set of strings.
The examples I found on the internet suggested using a query object to
create a connection, create a table, do an insert command on the query and
then say
Result res = query.store();
But I do not want to construct a table. I want to populate the result
object (in the form of rows and columns) given a set of strings. How
should i do it? Any suggestions would be very helpful.
I truly do not understand what are you trying to do.
If you want to make a table in memory, use standard STL array of strings ..
Sincerely,