I have problem with file. The problem is I have to compare two file 1)master file and 2)transaction file. both have accno, amount,id and code(d-deposit,w-withdraw). the accno is in char ,amount double, id integer and code character.
my problem is how to compare accno from master file with accno from transaction file,because both acc no is character and if acc no(master file) equal acc no(transaction file) i have to copy the accno(master file) and the rest(amount,id) to new master file.all file is in sequential file.
can anyone help me