Introduction to programming with C
Introduction
Control structures: decisions and loops
- Breaking the flow: the
ifstatement - Our first loops: the
whileloop - Putting it together: nested control structures
- More repetition: the
forloop - Logic and the
do...whileloop - Completing the control structures
Functions
- Functions
- Building your own library (and generating random numbers)
- Enumeration constants (and a longer example)
- Variable scope and recursion
Arrays
- Introduction to arrays
- Strings, arrays and functions, searching arrays
- Binary search and sorting arrays
- Two-dimensional arrays
Disclaimer
The summaries above were automatically created from transcripts of my in-person lectures. I used Whisper for speech recognition and Claude to automatically create the summaries. These were then lightly edited. But there are almost certainly mistakes. Please email me if you spot any glaring issues.
License
Herman Kamper, 2026
This work is released under a Creative Commons Attribution-ShareAlike license (CC BY-SA 4.0).