When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
9 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
with strings stop when they reach a whitespace
You probably want to getline into the name string
now you only read "Bob" and put that into _name
and "the" into _email and so on
btw, you can >> directly into p.name
could you post your ostream formatting too?
nice 👍
.