Hey,

I have an assignment for school, not too hard just stuck on a couple of things.

One the teacher ecpects us to search for a name the user inputs and match it to the closest match, or couple of matches i guess, never done this, so just a little confused on how to do it.
And the other thing is he gave us a txt file to read and write info to, such as fname sname pnumber etc, anyway we have to input the text and store it in the array, which is not hard but we are to expect that the first name and surname can both include white space, for example two first names and one surname or any other combo, the thing is we cant make any markers in the txt file such as a _ between the names which we get rid of in output. Any ideas would be helpful

Thnx in advance.