1And in Conclusion¶
C was chosen to exploit underlying features of HW.
We will begin discussiong memory management in a lot more detail next time with pointers and arrays.
C is compiled and linked to make executable.
Pro: Speed
Con: Slow edit-compile cycle
C looks mostly like Java, except no object oriented programming
Abstract Data Types are defined through structs; more next time
bool:0andNULLare false. Everything else is true.Use
intN_tanduintN_tfor portable code!
Uninitialized variables contain garbage.
“Bohrbugs” (repeatable) vs “Heisenbugs” (random)
2Textbook Reading¶
K&R Ch. 1-5