|
|
PLEASE ALWAYS USE CODE TAGS (the <> formatting button), to the right of this box, when posting code. Along with the proper indenting it makes it easier to read your code and also easier to respond to your post. http://www.cplusplus.com/articles/jEywvCM9/ http://www.cplusplus.com/articles/z13hAqkS/ Hint: You can edit your post, highlight your code and press the <> formatting button, but you may still to indent your code. You can use the preview button at the bottom to see how it looks. I found the second link to be the most help. |
You wrote: |
---|
Task: Write a string variables to input stream with filter, and get vector's data. |
for (string a; cin >> a;)
The "cout" statement might work better outside the for loop instead of printing it with each loop iteration. |
I do not quite understand what is meant by "filter". |