Customer directory

Jan 27th, 2014
DreamIt
Category:
Programming
Price: $20 USD

Question description

Phone directory - removing a person's data

Points received for exercise 1

Assignment

  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 message.

  Hint:

  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.


Tutor Answer

(Top Tutor) Daniel C.
(997)
School: UC Berkeley
PREMIUM TUTOR

Studypool has helped 1,244,100 students

5 Reviews


Summary
Quality
Communication
On Time
Value
ashleyisgod
Nov 27th, 2016
" Top quality work from this guy! I'll be back! "
Molly_Moon
Nov 5th, 2016
" AMAZING as always! "
Hemapathy
Oct 13th, 2016
" all I can say is wow very fast work, great work thanks "
BlueOcean
Sep 30th, 2016
" Awesome! Exactly what I wanted. "
kevin12622
Sep 21st, 2016
" Goes above and beyond expectations ! "
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1823 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors