In article <3646 at inews.intel.com> bhoughto at nevin.intel.com (Blair P. Houghton) writes: > while ( ( c = (char) getchar() ) != (char)EOF ) Assuming that the loop is meant to handle all possible byte values, this is also buggy.