Next: Exercises
Up: Streams and External Files
Previous: Summary
open
function of a stream?datain.txt
'. How would you read a real value from this
stream into a float
variable?results
'. Assuming that there existed float variables
x
and y
how would you write the values of x
and
y
to the file results
together with a message `
The values of x and y are
'?