Reading a word: code
T = WORD;
do {
s += char(c);
c = getc(f);
} while
(c != EOF && !isspace(c));
ungetc(c, f);
Previous slide
Next slide
Back to first slide
View graphic version