For an assignment I have to read a .dat file and load it into a linked list then sort it.
My problem is that I'm not sure how to check that the information in the file is correct.
The example we have it that there is a field with 12..34 instead of 12.34 and so it should return an error message. I am using a float as this value.
Any direction/help would be great.
Thanks.