摘要:
vector Entities;/* Fill vector here */vector::iterator it;for ( it = Entities.begin(); it != Entities.end(); ) if( (*it)->getXPos() > 1.5f ) de... 阅读全文
摘要:
例子1: 1 1 std::list::iterator i = items.begin(); 2 2 while (i != items.end()) 3 3 { 4 4 bool isActive = (*i)->update(); 5 5 if (!isActive)... 阅读全文