Date: Wed, 11 Dec 1996 22:34:16 GMT Server: NCSA/1.5 Content-type: text/html Last-modified: Sun, 06 Oct 1996 22:35:37 GMT Content-length: 13997 CS 302 Section 70 Lecture Notes - Weeks 5

Lecture Notes - Week 5


Topic:
Formatted input and output. Reading and writing files.

Text:
Chp. 5.1, 5.3, 5.5 - 5.7

Notes:

Formatted Output

Edit Descriptors

INTEGER - Iw

REAL - Fw.d

CHARACTER - Aw

Insert Spaces - nX

PRINT Statement


Formatted Input

Edit Descriptors

INTEGER - Iw

REAL - Fw.d

CHARACTER - Aw

Skip Characters - nX


Reading and Writing Files

OPEN Statement

Reading From Files

Writing To Files

Batch Processing

End-of-File (writing)

CLOSE Statement

End-of-File (reading)


Copyright © 1996 Modified from Gareth S. Bestor (bestor@cs.wisc.edu). Last modified October 6, 1996.