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
- 1. Assume that an increase in government spending increases the budget deficit in Country A. (a) Using a correctly labeled graph of the loanable funds market,
- How do I use the four PICO categories to develop an evidence based PICO question for catheter associated urinary tract infection prevention?
- Two men's clothing stores that compete for most of the market in a small town in Ohio and will choose their weekly advertising levels sequentially. The