c 2b 2b vector foreach

Solutions on MaxInterview for c 2b 2b vector foreach by the best coders in the world

showing results for - "c 2b 2b vector foreach"
Lucia
01 May 2017
1std::vector<Entity> entities;
2
3for (Entity& entity : entities) {
4	entity.doStuff();                
5}
Luigi
24 Jan 2017
1for(int i=0; i < size(vector); i++){
2   vector[i]=0;
3}
4