| description | | hints | | solution | | discussion |
| list of all exercises | |||
Consider the following situation: you start a new position as a programmer.
Your first job is to fix an ANSI C program which was not finished by
the person who worked in this position before you.
The program is named
exer0.c (*)
and its purpose is to read persons data records of the format
Lastname Firstname Birthday
from standard input, store then in a list, and finally print them in
alphabetical order to standard output. The file
input.dat
contains some example data records for testing.
The program has syntactical (it does not compile) und logical (it does not
work) errors. Get the program to compile and work.