Hello All,
how can I create a member function for a class that is reading from a txt file, which is reading computer network addresses and names for the addresses.
I was guessing they need to be string and 4 ints data type.
Example of data.txt file input
111.22.3.3 "green
111.22.44.4 " purple"
also with the option to read 100 addresses