I finished grading last week's labs today, and the very last question I graded disturbed me greatly. (Some, but not all, of what follows is geeky, so bear with me.) It was a simple problem: read a file and classify the words in the file according to whether they are numbers, words, etc. The general solution most students try is to read a line,
(
Read more... )