Question: Could someone write this code in C language. Please do not get too complex. Please read the assignment over. Locally, computers are often known by
Locally, computers are often known by an alias (nickname) as well. You will design and write a program to process a list of Internet addresses from file "CS222 Inet.txt. Your program should read a list of up to 100 addresses and nicknames terminated by a sentinel address of all zeros and the sentimel nickname, "none". Sample CS222 Inet.txt: 111.22.344 platte 131.250.95.21 jet 172.66.7.88 wabash 111.22.5.66 green 131.250.47.63 baker 0.0.0.0 none For this assignmemt, you will create your own test data files using the sample format. Grading will involwe using different data files with the same format.. Your program will generate a report listing all computers from the same locality--that is, each computer with matching values in the first two components of the address. In the list, the computers should be identified by their alias. The report will be saved to file "222 Locality Report. The user will also generate a report listing all of the computers sorted alphabetically by alias. This report will be saved to file "222 Alias List'. As writih HW3, both reports will Comtaim the user's mame amd current date, along with the generated report listing. Examples: Hal Greenwald July 17, 2018 Hal Greenwald July 17,2018 CS222 Network Alias Listing CS222 Nettwork Locality Report 111.22 platte green baker green jet platte wabash 172.66.7.88 131.25047.63 111.22.5.66 131.250.95.21 11122344 131.250 jet baker 172.66 wabash
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
