Date: Wed, 13 Nov 1996 23:16:23 GMT Server: NCSA/1.5 Content-type: text/html Last-modified: Thu, 18 Apr 1996 22:56:51 GMT Content-length: 13991 CS 110 Section 2 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 Gareth S. Bestor (bestor@cs.wisc.edu). Last modified April 18, 1996.