This example demonstrates reading
text file, storing each
record in a struct and writing it out as a binary file.
The”processing” requirement is to read the
binary file and give all teachers a 5% raise and give Joe Bentley a 10%
raise. The binary
file will be updated
to reflect the changes.
AGUILAR,
RICARDO L
ANIMAL CONTROL
OFFICER
70644.00 ALLISON, JOHN L ANIMAL TEACHERCONTROL OFFICER 64392.00 AYALA, ARTHUR ANIMAL CONTROL OFFICER 70644.00 BATINICH, JACLYN M VETERINARY ASST 66948.00 BENTLEY, JOE TEACHER 95000.00 CABALLERO, JORGE ANIMAL CONTROL OFFICER 45924.00 CRAYTON, MARSTINE L SUPVSR OF ANIMAL CONTROL OFFICERS 73992.00 DEL RIO, JOSE A SUPVSR OF ANIMAL CONTROL OFFICERS 89124.00 … |