Content last revised: 12noon Tuesday, May 20
Due date changed: Wednesday, May 28
Name: Ian Allen Student Number: 000 000 000 Input file: Assignment Two Data-1.txt Line number: 23 Longest identifier: antidisestablishmentarianism Input file: Assignment Two Data-2.txt Line number: 523 Longest identifier: plinth Input file: Empty File.txt Line number: 0 Longest identifier:
The deliverables for your assignment are due in the Ian Allen assignment box before 12 noon Friday, May 30, 1997.
Please review the C Programming
Style guidelines.
Assignments are marked for clarity and simplicity as well
as correctness.
Late assignments are handled according to the policy given in the course outline.
Inside every big program is a little program struggling to get out.
while( not end of file ) switch( currentState ) case ST_IGNORING_INPUT: if( input begins an identifier ) currentState = ST_COLLECTING_ID; ... break; case ST_COLLECTING_ID: if( input ends an identifier ) currentState = ST_IGNORING_INPUT; ... else ... break; default: ... }