hello
I have a file with the following data in which are tab delimted fields:
172.24.55.6 90 0 0
172.25.56.7 80 1 0
172.26.55.6 71 0 3
etc..
I want my C program to be able to read them in and store the ip address in a char* ipAddress and the code after wards (e.g 90 or 80 or 70) in a char* code. What is the best way to do this?
thanks for your time
I have a file with the following data in which are tab delimted fields:
172.24.55.6 90 0 0
172.25.56.7 80 1 0
172.26.55.6 71 0 3
etc..
I want my C program to be able to read them in and store the ip address in a char* ipAddress and the code after wards (e.g 90 or 80 or 70) in a char* code. What is the best way to do this?
thanks for your time