Hello there,
Kindly seek your help with a C programming language program that:
1 Reads reads and modify a text fine called mydata.txt
2 In txt file, we must enter the following data : name surname telephone number like this: John West 6976688742
3 The program should be able to fuction the following commands by typing in command screen the following:
p = prints all the registered entries in text file
f West = prints all the line that has as surname equal to West
d West = delete the line that has as surname equal to West
i Peter Smith 69852147 = inserts new line in text file
q = stop the program and update the file with all the amendments that done
4 Print ascending order:
psn = prints in ascending order of names
pss = prints in ascending order of surnames
As i have no expirence with C, all recomendations would be highly appriciated.
Regards