need help implementing this class in c the ipaddress class should have four data mem 5192268
Need help implementing this class in C++
The IPAddress class should have four data members, one for each of the four constituent parts. Each IP address consists of four parts separated by dots. You should have a default argument constructor for this class that will initialize an IPAddress object to 0.0.0.0. You should overload three operators for this class. You should overload the == operator that will compare two IP addresses. Overload the insertion operator << so that you can use it to display an IP address in a dot-separated format. Overload the extraction operator >> so that you can use it to read an IP address that is represented in a dot-separated format.Also, the IP address that are inputted need to be taken into account as a string and converted to integers using atoi function.