Look at line 5, for(int i=0; Managers.size(); i++). What does Managers.size(); do? It gets the size of Managers and dosnt do anything with it.
So this loop will go forever, it will never end. You need to add this, i != Managers.size()
So line 5 will look like for(int i=0; i != Managers.size(); i++){.
And may I make a few other points. Try to avoid mixing singed and unsigned. Above, the int is signed and Managers.size() is unsigned. The type returned by Managers.size() is std::vector::size_type. So maybe you would want to do this: for(vector::size_type i = 0; i != Managers.size(); i++){
Xp3rtHamm0r: Why use string::size_type? vector<Manager>::size_type makes more sense. Personally I think it get's a bit verbose so I normally use std::size_t instead.