Alx09

Untitled

Feb 9th, 2021
1,013
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.24 KB | None | 0 0
  1. for (auto it = listaCazare.begin(); it != listaCazare.end(); it++){
  2.             if ((*it)->getTip() == tip && (*it)->getStele() == nrstele) {
  3.                 listaCazare.erase(it);
  4.                 it = listaCazare.begin();
  5.             }
  6.             if (listaCazare.empty()) return;
  7.                
  8.         }
Advertisement
Add Comment
Please, Sign In to add comment