Lesson 9: What Goes Around Comes Around
Outline:
- Signed integers and 2’s complement
- example:
integers.c - converting between signed and unsigned
- negation
- size changes: expanding and truncating
- example:
printing_bytes.c
- example:
- Assignment 5: String Things – work for at least Proficiency by Tuesday!
- recall: C strings and
char * - useful function:
strtok
- recall: C strings and
Reading assignment (to be completed by the next class):
- DiS Sec. 2.5.2: Two-Dimensional Arrays
- DiS Sec. 2.9.7: Compiling C to Assembly, and Compiling and Linking Assembly and C Code