Previous Lecture | Lecture 2 | Next Lecture |
Lecture 2, Wed 04/01
Control Structures, I/O in programs
Lecture Video
Topics
Learn multiple important topics using a game of fizzbuzz
- Just fizz (using cin to get input, C++ variables)
- The full game (nested and multiway if-else, boolean expressions)
- Create the usage: ./fizzbuzz
(passing command line arguments)
Simple flow control structures
- If else statements
- Nested and multi-way if-else
- Uninitialized variables in C++
- Evaluating C++ expressions