Can u give me an example of function which search for a string in a file?
I want to make a phone book. Phone book must have options for add, delete and find numbers. I've already done the add function. Now I'm trying to make the find() function, but I don't know how. I'm plannig to make a find() function which will be returning the string which we are looking for and (1)will display it on the screen; (2) will be used for the delete() function - we will enter a string for deleting, this string will be given to the find() function and then if the string exist he will be deleted ( I don't know yet how ).
So I hope u understand me want I exactly want.