Nov 10 Class Exercises

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