i have two files
one is a list of guests from the brides side
the second is a list of guests from the grooms side
each line in the file has
first name - 15 chars
last name - 15 chars
age - 3 chars
comments - 30 chars
the files are sorted by last name in alphabetical order and for that last name
it is sorted by firs name
notice that the last name comes after the first name
for example
dany smith 15 gbgnh
rebeca smith 30 bgbg
susana smith 5 gbgf
i need to create two new files the first one which has the list guests
which appeared in both given files and the second one has the rest
my main problem is that i am not allowed to copy the file into a structure
(no arrays linked list tree other file)
how the F am i supposed to do it without breaking the file into a structure??
and compare them??