CMPU-235: Software Development Methodology
Homework #1
Due: Friday, Sept. 15
Here is a simple data structure for storing player numbers and names:
struct player {
int number;
char name[20];
}
Write two versions of a program that reads in player names and numbers
until the EOF, and then displays them all.
- Array version: Use an array to store the players.
- List version: Use a list - of your own design - to store the players.
Note: You will be using your programs for the next assignment.
Be careful and rigorous, any mistakes you make will be propagated
forward and make your life more difficult next week.
The homeworks will be graded based on style, documentation, and
functionality.