Why would a programmer want to use string streams, specifically objects of istrstream and ostrstream classes, for handling input to and output of a program?
Why would a programmer want to use string streams, specifically objects of istrstream and ostrstream classes, for handling input to and output of a program?
Sounds like a homework question. What do you think the answer is?
Related questions:
1. Can you explain, in your own words, what streams do?
2. Can you think of a practical application for them?
3. Would you want to use them in your programs? Why?
What can this strange device be?
When I touch it, it gives forth a sound
It's got wires that vibrate and give music
What can this thing be that I found?