Can I ask why you wouldn't query the database SELECT * FROM mytable *WHERE
name='test' *?
Generally, that wouldn't do the trick, considering it would still be in the
form of some_result[0]["name"], some_result[0]["syntax"], etc.
You would get a book on C++ and read up on the find() algorithm. This is
not the place to discuss it.
Well, I sort of just needed to know a function/method to do it, so you
pointing at find() already was a great help.
2008/8/19 Warren Young <mysqlpp@stripped>
> On Aug 19, 2008, at 10:19 AM, Alex wrote:
>
> Now, I'd like to search through the result set until I find the vector
>> element that matches "test". How would I do this?
>>
>
> You would get a book on C++ and read up on the find() algorithm. This is
> not the place to discuss it.
>
>
> --
> MySQL++ Mailing List
> For list archives: http://lists.mysql.com/plusplus
> To unsubscribe:
> http://lists.mysql.com/plusplus?unsub=1
>
>
--
GamerzWoW - http://www.gamerzwow.net