7.2 Making Decisions


7.2 Making Decisions

Most computer software offers the ability to simulate thinking, to make choices, and to offer choices to the user. Message boxes pop up and ask questions such as "Are you sure?" and users are expected to click either "Yes" or "No." The program responds in a particular way depending on their choice. Similarly, a user might request that a spreadsheet program organize a list of names in alphabetical order, from top to bottom. This implies that a program must determine which of any two names should appear before the other. These instances are examples of decision-making structures. C++ achieves decision making through conditional statements.




Introduction to Game Programming with C++
Introduction to Game Programming with C++ (Wordware Game Developers Library)
ISBN: 1598220322
EAN: 2147483647
Year: 2007
Pages: 225
Authors: Alan Thorn

Similar book on Amazon
Beginning C++ Through Game Programming
Beginning C++ Through Game Programming
Beginning Game Programming
Beginning Game Programming
The Ultimate Guide to Video Game Writing and Design
The Ultimate Guide to Video Game Writing and Design

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