What have you tried to solve the problem and where did you go wrong? Can you even read the files? What data structures would you expect to use? How would you get the data from the file to the data structure?
My criteria for good software:
Does it work?
Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
I thought of using the cutting the necessary columns and using diff. But because of first file format. I would need additional processing for the fields. And as there are spaces in the values which I need to handle. Do you think if I store each of the files in a array and then compare will that be good? But how do I handle the spaces and a string of values stored in a column.