right, so im using c++ and the guichan gui library (its pretty nice ) and tinyXML (which is also very good).
Right now my problem,
when for example you define a widget of button type in guichan it is gcn::Button* button, now i have a vector of these and wish to pass the vector by reference into the function:
the function prototype looks like:
now, in that function i can access buttons->size() perfectly well, however when i try and access a specific member of the vector and its members i get an error saying that the member doesn't contain a member function of the name im trying to call (when it does).Code:function (vector <gcn::Button*>* buttons);
hopw this is all making sense, ive just got myself in a bit of a muddle as if been chopping and changing things trying to make it work and have managed to confuse myself even more in the process.
thanks in advanced,
scott
Bookmarks