PLEASE CAN ANYBODY HELP ME????? I know that this is cheating but I have never been so desperate for help. I am at the end of my course and have got completely stuck with this assignment. I have no Idea what to do and am going to fail the course if I don't hand it in. I know that this is a lot to ask and I wouldn't do it normally but I desperalty need to get the grade.
The question is :-
Numeric address for computers on the internet are composed of four parts seperated by periods, of the form xx,yy,zz,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, identifying all pairs of computers from the same locality (ie. with matching xx and yy components). Create a class called InternetAddress with components for the four integers and a fith copmponent to store an associated nickname of at most 20 characters. Your program should extract a list of any number of addresses and nicknames from a datafile whose name is provided by the user. The first line of the file should be the number of addresses that follow. Here is a sample of the data
dynamically allocate an array to hold the indicated numbers of InternetAddress objects. Fill the array and then display a list of messages identifying each pair of computers. Here is a sample message.
Machines platte and green are on the same network.
include in your class definition friend operators >> and << and a SameNetwork member function that takes a second InternetAddress object as a parameter and returns true if the two addresses are on the same network and false otherwise. Follow the messages by a display of the full list of addresses and nicknames.