Hey,
I am very new to C & only started a few days ago. I have read a few tutorials & have got to the point where I can do loops, pointers etc.
But I have come across something that I want to create a program to do, but I don't yet have the knowledge to do it. So I want to seek your help.
I need a program that can sort a text file of about 3,000 phone numbers, the entries look like this:
Name: Mark Phone: 02-0121-234353
Country State Surname
Blah Blah Blah
Name: Lee Phone: 02-0121-2234453
Country State Surname
Blah Blah Blah
Name: Chris Phone: 02-0121-657353
Country State Surname
Blah Blah Blah
Like I said this goes on for about 3,000 entries , so what I want this program to do is extract the phone numbers & just the phone numbers & put them into another text file in order so it would look like this:
02-0121-234353
02-0121-2234453
02-0121-657353
I am not asking for you to write this program for me but just to point me in the right direction on where should I go to learn to do this? Also, what functions could probably help me in doing this?
Thank you,
John