Comparing two arrays
843785Dec 6 2008 — edited Dec 7 2008Hi, I want to read text file into array. First line will be answerKey stored in character array and starting from second line down it will be records which I need to compare with the answerKey. For each same character I will add point and for each wrong character it will subtract point. Finally I need to process the points to get average for each record and display it. I have methods to compute the average, and display the results, but I don't know how to process the file into two arrays and compare them char by char? Any suggestion will be greatly appreciated.