Contents
Syntax
The syntax for
getline{option}(istream, params)
@getline{option}(istream, params)
Description
The
Options
The following options are available for
option | description |
---|---|
no return value | |
option | description |
f++ example
Examples of
- :=(string, s)
- getline(console, s)
- :=(string, s)
- :=(ifstream, ifs("input.txt"))
- while(getline(ifs, s))
- console(s)
- ifs.close()
n++ example
Examples of
- @:=(string, s)
- @getline{!r}(console, s)
- @:=(string, s)
- @:=(ifstream, ifs("input.txt"))
- @while(getline(ifs, s))
- @console(s)
- @ifs.close()