Bits and characters

Starter code: bits-package.tar
Upload via Moodle as: bits.tar

Goals

Rubric

2 - to_upper correctness 2 - to_lower correctness 3 - middle_bits correctness 3 - to_utf8 correctness 2 - from_utf8 correctness 3 - code quality

Note that "correctness" in this rubric includes "meets all documented specifications". So, for example, if you don't follow the requirement "to_upper may only use bitwise operations on the chars in s" in the documentation for to_upper, that comes out of your "to_upper correctness" score.

Your assignment

The only file you are required to submit is bits.c. You may include your own main.c and Makefile (starters of which are included in bits-package.tar), but we will use our own main.c and Makefile to do our testing and grading.