Lecture Eighteen

1 Oct 98


Click here to start


Table of Contents

Opening and Closing Files

Use files

Character Input/Output

String Input/Output

Formatted Input

Input Format Descriptors

Formatted Output

Output Descriptors

Unformatted I/O

Real World Application: An interactive calculator

Top of the Calc.c

The main() and a function bad_op()

The Parsing function

The io.c

Running the Program

Reading/Home Working

Author: NUS

Email: cscwjs@nus.edu.sg

Home Page: http://www.cz3.nus.edu.sg/~wangjs/CZ1102/cz1102.html

Download presentation source