How Do I Control the Program Flow and Make the Program React to User Actions and Other Events?
摘要
Programs must react to a variety of events, for example user input. This "reaction" means that the program branches into different sections depending on the situation. In this chapter, we will look at how such branches work and how to incorporate them into the program.