SUMMARY


In this chapter, you learned how to work with variations of the do and for loops. You also learned how to set up a whi1e loop. You learned how to use loops to collect and process user input and to process the contents of arrays and controls, such as the ComboBox control. In addition, you learned about endless loops and how to use the break keyword to break out of loops and the continue keyword to skip statements within a loop. As a final effort, you created the Dice Poker game.

Before you move on to Chapter 8, "Enhancing Code Structure and Organization," and start learning how to work with functions, take a few extra minutes to improve the Dice Poker game by completing the following challenges.




Microsoft Visual C++ 2005 Express Edition Programming for the Absolute Beginner 2006
Microsoft Visual C++ 2005 Express Edition Programming for the Absolute Beginner 2006
ISBN: 735615381
EAN: N/A
Year: 2005
Pages: 131

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net