(Address book)  Write a program that stores, retrieves, adds, and updates addresses as shown in Figure 17.20.  Use a fixed-length string for storing each attribute in the address.  Use random access file for reading and writing an address. Assume that the size of name, street, city, and zip is 32, 32, 20, 2, 5 chars, respectively

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter9: Records (struct)
Section: Chapter Questions
Problem 16SA
icon
Related questions
Question

need help:

(Address book)  Write a program that stores, retrieves, adds, and updates addresses as shown in Figure 17.20.  Use a fixed-length string for storing each attribute in the address.  Use random access file for reading and writing an address. Assume that the size of name, street, city, and zip is 32, 32, 20, 2, 5 chars, respectively

 

 

Exercise 17.09
(Address book) Write a program that stores, retrieves, adds, and updates addresses as shown in Figure
17.20. Use a fixed-length string for storing each attribute in the address. Use random access file for
reading and writing an address. Assume that the size of name, street, city, and zip is 32, 32, 20, 2, 5
chars, respectively.
Exercise17_09
Name John Smith
Street 100 Main Street
City
Savannah
State GA Zip 31411
Add
First
Next
Previous
Last
Update
Figure 17.20
(US)
100%
lili
Transcribed Image Text:Exercise 17.09 (Address book) Write a program that stores, retrieves, adds, and updates addresses as shown in Figure 17.20. Use a fixed-length string for storing each attribute in the address. Use random access file for reading and writing an address. Assume that the size of name, street, city, and zip is 32, 32, 20, 2, 5 chars, respectively. Exercise17_09 Name John Smith Street 100 Main Street City Savannah State GA Zip 31411 Add First Next Previous Last Update Figure 17.20 (US) 100% lili
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Functions
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning