what advance function actually do ?
Please reply ASAP !
Please reply ASAP !
Code Select
if(callback.id==1)
{
auto it = sounds.begin();
std::advance(it, listBox->getSelectedItemIndex());
it->play();
}