checking whether a particular element exists or not in a c++ STL vector
<p>I wanted to check whether an element exist at a particular vector location, say i, before accessing it like v[i]. Could you let me know how can I do that?</p>

<p>Thank you.</p>
