This preview shows page 1. Sign up to view the full content.
Unformatted text preview: return EOF; } /* * Cast through unsigned char, to prevent sign extension. This * sends back values on the range 0-255, rather than -128 to 127, * so EOF can be distinguished from legal input. */ return (int)(unsigned char)ch; }...
View Full Document
This note was uploaded on 11/10/2009 for the course CS 536 taught by Professor Lums during the Spring '09 term at Indiana.
- Spring '09