getline overloads
Declared in <bslstl_istringstream.h>
String extraction.
__istream_type&
getline(
char_type* __s,
streamsize __n);
» more...
Extract a line of characters into buffer.
BaseStream&
getline(
char_type* buffer,
std::streamsize count);
» more...
String extraction.
__istream_type&
getline(
char_type* __s,
streamsize __n,
char_type __delim);
» more...
Extract characters into buffer until delimiter.
BaseStream&
getline(
char_type* buffer,
std::streamsize count,
char_type delimiter);
» more...
| Name | Description |
|---|---|
| __s | A character array in which to store the data. |
| __n | Maximum number of characters to extract. |
| buffer | destination character array |
| count | maximum number of characters to store |
| __delim | A "stop" character. |
| delimiter | character that stops extraction |