Contents
Syntax
The syntax for
read{option}(istream, params)
@read{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) :=(int, i) read(console, s, i)
:=(string, s) :=(ifstream, ifs("input.txt")) read(ifs, s, i) ifs.close()
n++ example
Examples of
@:=(string, s) @:=(int, i) @read(console, s, i)
@:=(string, s) @:=(ifstream, ifs("input.txt")) @read(ifs, s, i) @ifs.close()