Content of a vector

Lets say you have a vector holding chars, and you type in that char again. How do you check if the vector is already containing that char?
std::find(v.begin(), v.end(), ch) != v.end()
Topic archived. No new replies allowed.