Upload
lucy-fulton
View
23
Download
0
Embed Size (px)
DESCRIPTION
CSC 253. Lecture 4. File I/O. Let’s take the program from the end of the last lecture, And modify it to read from a file … Now let’s modify it to write to a file …. Look at the example program at the end of the lecture. Let’s modify it to read from the terminal and write to a file. - PowerPoint PPT Presentation
Citation preview
CSC 253CSC 253
Lecture 4Lecture 4
File I/OFile I/O
Let’s take the program from the end of the last lecture,
And modify it to read from a file … Now let’s modify it to write to a file
…
Let’s take the program from the end of the last lecture,
And modify it to read from a file … Now let’s modify it to write to a file
…
Look at the example program at the end of the
lecture
Look at the example program at the end of the
lecture Let’s modify it to read from the
terminal and write to a file. Let’s modify it to read from the
terminal and write to a file.