SFML Timer and vector elements in stack elements

Hello
I want use timer in my SFML application , i need use random method after several seconds how can i do that?



The Second Question
I have objects Circle class in vector colletion , i want random elements from vector<Circle> push into stack<Circle> collection
etc.
I random elements 1-100(vector elements) and attribute to `stackname.push(Vector[i])`
and a i call method


SetPosition stackname.top().SetPosition

but it doesn't work and returning error

How can i attribute elements form vector to stack elements ,
Topic archived. No new replies allowed.