Lecture 26 Outline (November 25, 2015)
Reading
:
text
, §11
Greetings and felicitations!
Midterms are in my office; you can come get them there.
Homework 5 is last homework
I will schedule a review session on December 7 or 8, depending on when I can get a room
Prof. Chen’s postfix program
Enable it to read numbers of multiple digits
Add save, load stack
Files
Review files and file pointers — mention file descriptors as underlying mechanism
Standard I/O library (
stdio.h
)
Standard input, output, error (
stdin
,
stdout
,
stderr
)
Opening, closing files (
fopen
,
fclose
)
Binary file I/O
Reading with
fread
Writing with
fwrite
You can also obtain a PDF version of this.
Version of November 30, 2015 at 6:42AM