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
What is a responder chain?
How do you compile the source code with your compiler?
What do you mean by function pointer?
What is constant in c++ with example?
Explain the scope of resolution operator.
What is malloc in c++?
Does improper inheritance have a potential to wreck a project?
What is enum class in c++?
What should main() return in c and c++?
What return value must conversion operators have in their declaration?
What does scope resolution operator do?
How would you use the functions sin(), pow(), sqrt()?
What are c++ templates used for?
Explain the concept of friend function in c++?
Can you pass an array to a function in c++?