15-122 Principles of Imperative Computation
Lecture 21: Polymorphism

  • Reading: 21-poly.pdf
  • Code: stacks.h, stacks.c, code directory
  • Concepts:
    • Conditional compilation
    • Header files and header guards
    • Preprocessing and #include
    • Generic data structures
    • Polymorphism
    • void*
    • Explicit cast and implicit conversion
    • Assertions and annotations
    • malloc, calloc, and free
    • valgrind
  • Previous lecture: ROBDDs
  • Next lecture: Memory Management

[ Home | Schedule | Assignments | Resources ]
[ Blackboard | academic.cs.15-122 ]

fp@cs
Frank Pfenning