Extraction without delimiters.
Synopsis
Declared in <bslstl_istringstream.h>
__istream_type&
read(
char_type* __s,
streamsize __n);
Description
If the stream state is good(), extracts characters and stores them into __s until one of the following happens:
-
__n characters are stored
-
the input sequence reaches end‐of‐file, in which case the error state is set to
failbit|eofbit.
|
Note
|
This function is not overloaded on signed char and unsigned char. |
Return Value
*this
Parameters
Name |
Description |
__s |
A character array. |
__n |
Maximum number of characters to store. |
Created with MrDocs