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

What are the vectors in c++?

0 Answers  


Are strings immutable in c++?

0 Answers  


Will a C compiler always compile C++ code a) Yes b) No c) Only optimized compilers

0 Answers  


Explain virtual class?

0 Answers  


What are the uses of c++ in the real world?

0 Answers  






What is the difference between *p++ and (*p)++ ?

0 Answers  


What are proxy objects in c++?

0 Answers  


What is a class template?

0 Answers  


What is the C-style character string?

0 Answers  


Difference between pointer to constant and constant pointer to a constant. Give example.

0 Answers   HAL,


What are the uses of static class data?

0 Answers  


What are the comments in c++?

0 Answers  


Categories