A
aarthi28
Hi,
I am trying to read every other string from a text file and store it
in a vector. I can use istream_iterator to read all strings and store
it in a vector. However, I only need the first, third,5th etc string
in a vector. How do I do this?
Thanks a lot. Any help I can get is appreciated
I am trying to read every other string from a text file and store it
in a vector. I can use istream_iterator to read all strings and store
it in a vector. However, I only need the first, third,5th etc string
in a vector. How do I do this?
Thanks a lot. Any help I can get is appreciated