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?

Nevermind, found it

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.