Hello i have two questions
1.
I have vector that I have delete several members from it after I do it I have a problem to access other member because index if other members has changed. What is the best way to know and access the members of the vector after the deletion?
2.
for(int i = 0;i< foo();++i)
int foo()
Does foo function calculated every time that loop is initialized?
Thank you in advance