Nov 10 Class Exercises
Arrays
- Use local variables instead of parameters.
- Use const wehre appropriate.
- Not all functions should be void.
- Don't write two functions to print the array
Votes:
- You know how many names there are and can use "for" instead of "while"
- You can't use the actual names of the candidates in the program because they are read from a file
- Use my structure for Program 11.
- Checking for a problem opening a file: see example on 10/31.
- I can answer questions early Thursday morning but not later.
- Check out grading rubric.