11.18.05 Lecture Notes for CISC181 Fall 2005 Potential Final Exam question: I may ask about reading until end of file into an array: remember that the proper pseudocode is: initialize count = 0; try to read a line while (not end of file) { process the line you read store it position [count] in the array count++; try to read the next line } An alternative popular with the C, C++, Java crowd: while ( try_to_read() != failure ) { process store in [count] count++ }