View the step-by-step solution to:

Numeric addresses for computers on the international network Internet are composed of four parts, separated by periods, of the form:mm where xx, yy,...

Numeric addresses for computers on the international network Internet are composed of four parts, separated by periods, of the form: xx.yy.xx.mm where xx, yy, zz, and mm are positive integers.  Locally, computers are usually known by a nickname, as well.  You are designing a program to process a list of Internet addresses,Purpose:The program should display a list of messages identifying each pair of computers from the same locality -that is, each pair of computers with matching values for the first two components of the address.
In the message, the computers should be identified by their nicknamesExample message:Machine platte and green are on the same local network.
Follow the message by a display of the full list of addresses and nicknames.  Include in your program, member function to read addresses, to print addresses and a local_addressesDirections:1. Split your program into 3 files: Network.h, Network.cpp and clientNet.cpp as described in the ADT notes.
2. Define a class called address_t with members for the four integers of an internet  address and a fifth member in which to store an associated nickname of 10 characters. Your program should read a list up to 100 addresses and nicknames terminated by a sentinel address of all zeros and nickname

Recently Asked Questions

Why Join Course Hero?

Course Hero has all the homework and study help you need to succeed! We’ve got course-specific notes, study guides, and practice tests along with expert tutors.

-

Educational Resources
  • -

    Study Documents

    Find the best study resources around, tagged to your specific courses. Share your own to gain free Course Hero access.

    Browse Documents
  • -

    Question & Answers

    Get one-on-one homework help from our expert tutors—available online 24/7. Ask your own questions or browse existing Q&A threads. Satisfaction guaranteed!

    Ask a Question