P
Pat
When inserting an number, say X, into a vector, if X already is in the
vector, then do nothing ( because I do want a repeated X occurs in the
vector). Otherwise, push X into the container.
Any efficient way to do this? Because my vector container is very larger.
Thanks. Pat
vector, then do nothing ( because I do want a repeated X occurs in the
vector). Otherwise, push X into the container.
Any efficient way to do this? Because my vector container is very larger.
Thanks. Pat