Lazy Foo' Productions

Event Driven Programming
Up until this point you're probably used to command driven programs using cin and cout. Here you're going to learn how to poll events, specifically when the user wants to X out the window.