What is "strstream" ?



What is "strstream" ?..

Answer / 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

More C++ General Interview Questions

Is c++ a pure oop language?

0 Answers  


Write a program to find the Fibonacci series recursively.

0 Answers   Huawei,


Why c++ is so important?

0 Answers  


What is pointer in c++ with example?

0 Answers  


What is c++ similar to?

0 Answers  






What do you mean by C++ access specifiers ?

1 Answers  


What is command line arguments in C++? What are its uses? Where we have to use this?

0 Answers   HCL,


What does std mean in c++?

0 Answers  


How long does it take to get good at leetcode?

0 Answers  


What are built-in functions? What is the syntax for the definition?

0 Answers  


What do you mean by inheritance in c++?

0 Answers  


What's the order in which the local objects are destructed?

0 Answers  


Categories