title: How to take unique values from file with vector in CPP using map?
body: <p>I have <code>vector</code> of some data type (Let's say-<code>int</code>) and I need to push back only unique values from the file? I am new to use STL. So i don't know how can i do it using <code>map</code> as i read that <code>map</code> only takes unique values. If I simply push back, then it will take all the values irrespective of its uniqueness.</p>