What is "strstream" ?

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


Please Help Members By Posting Answers For Below Questions

What happens if a pointer is deleted twice?

794


What are the advantages of using a pointer? Define the operators that can be used with a pointer.

608


How do you instruct your compiler to print the contents of the intermediate file showing the effects of the preprocessor?

586


If a header file is included twice by mistake in the program, will it give any error?

552


What are references in c++? What is a local reference?

576






What is the basic structure of a c++ program?

618


What is lazy initialization in c++?

656


write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays)

1808


What is c++ 11 and c++ 14?

594


How do you add an element to a set in c++?

553


What is searching?

659


What is a linked list in c++?

552


How do you flush std cout?

575


How can you quickly find the number of elements stored in a dynamic array? Why is it difficult to store linked list in an array?

564


Is c++ used anymore?

600