0

I'm getting a strange compile error with getline. My question is if you make a statement like:

getline(is, a.lastName, ',');

can you revert back to:

getline(is, a.country);

Or in other words, once you set a delimiter, are you bound by that delimiter for the rest of that method?

1
Contributor
1
Reply
2
Views
9 Years
Discussion Span
Last Post by DLightman
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.