I don’t understand this Programming question and need help to study.
- removing a person's data
for exercise 1
Write a program for removing a specific
person's data from the directory. The program asks for a first name followed by
a last name. The program checks if the person's data can be found. If the
person is in the directory, the data is removed. Otherwise print an error
You should carefully design the program
before writing any actual code. The use of structures may make the task easier.
It is most obvious that when you save an updated list, the existing data in the
file phonedir.txt is overwritten.
You can compare name information using the
C language function strcmp() in the library file string.h. You can find
information about using the function in the C manual.
Student has agreed that all tutoring, explanations, and answers provided by the tutor will be used to help in the learning process and in accordance with Studypool's honor code & terms of service.