subject

Use pointers, structures, and dynamic memory allocation. You are to code and execute a C program to input names and addresses that are in alphabetic order and output the names and addresses to a new file in zip code order. Maximum of 50 names. The program should be modularized and well documented. You must use a structure for the names and address information. Allocate storage dynamically for each structure. Use I/O redirection for the input and output files. This program must be done with an array of pointers to structures. p_0110t. use an array of structures. This program MUST use multiple file format You may use string handling functions. Input Create a data file of names and addresses in alphabetic order (by name) as follows: first line: last name, first name second line: street address third line: city and state fourth line: zip Assume no en-ors (which means that you have to type carefully ) Output The program is to create a new file of names and addresses in zip code order with the above formate If duplicate records (2 or more) occur in the input file, only include one copy in the output file. YOU MUST USE POINTERS TO STRUCTURES AND MALLOC. NO GLOBAL VARIABLES.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 05:20
Which operating system is a version of linux?
Answers: 1
question
Computers and Technology, 23.06.2019 15:00
Barbara is interested in pursuing a career in the science and math pathway. which qualifications will her reach that goal? a.an advanced knowledge of physics and math b.an advanced knowledge of engineering and math c. an advanced knowledge of physics and robotics an d. advanced knowledge of machinery and math
Answers: 2
question
Computers and Technology, 24.06.2019 00:50
Which player type acts on other players? a. killer b. achiever c. explorer d. socializer
Answers: 1
question
Computers and Technology, 24.06.2019 10:00
3. what do the terms multipotentialite, polymath, or scanner mean?
Answers: 2
You know the right answer?
Use pointers, structures, and dynamic memory allocation. You are to code and execute a C program to...
Questions
question
Biology, 13.12.2020 06:10
question
Geography, 13.12.2020 06:10
question
Biology, 13.12.2020 06:10
question
Mathematics, 13.12.2020 06:10
question
Physics, 13.12.2020 06:10
question
Computers and Technology, 13.12.2020 06:20
Questions on the website: 13722361