On Fri, 22 Sep 2006 00:19:02 +1000 in comp.lang.c++, Siegen
<> wrote,
>How to check whether the number three is in the vector?
>
>I tried "find" but it doesn't appear to be available to "vector".
"find" is fine. You didn't post what you tried, so how in the world
is anybody supposed to be able to tell you what's wrong with it!
This issue is covered in Marshall Cline's C++ FAQ. See the topic
"[5.8] How do I post a question about code that doesn't work
correctly?" It is always good to check the FAQ before posting.
You can get the FAQ at:
http://www.parashift.com/c++-faq-lite/