Answer Posted / sv
strstream is the class that specializes iostream to use a
strstreambuf for input and output with arrays of characters
in memory.
The class strstream provides functionality to read and
write to an array in memory. It uses a private strstreambuf
object to control the associated array. It inherits from
basic iostream and therefore can use all the formatted and
unformatted output and input functions.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Why use of template is better than a base class?
Explain all the C++ concepts using examples.
Explain how overloading takes place in c++?
What is purpose of new operator?
What is format for defining a structure?
What does it mean to declare a member function as static?
How do you establish an is-a relationship?
Write about the use of the virtual destructor?
Why is c++ still best?
Who discovered c++?
What is unary operator? List out the different operators involved in the unary operator.
What is the use of endl in c++?
What is an inline function in c++?
What is c++ runtime?
What is function declaration in c++ with example?