I do not know about vectors,but i know that strcmp receives strings and not characters.I think that myvector2.at(0) returns a char