I have a list<string>.
Using the iterator I can get *i.
Now I want to use the string 'pointed' how ?
I dont want to use cout to console I want to do my_string=*i. Must I use pointers and so... ?
Thanks
Last edited on
(excuse me for re-ask the question)
I have an ofstream , and I want to write to an ascii file the string contained into the list.
file_out.put(*i); this fails,
How can do it ?
Last edited on