Game Development Reference
In-Depth Information
Summary
This chapter has given you a brief introduction to the built-in data types provided by C++ as well as
also taking a look at enums and the usage of static _ cast to convert between these built-in types.
We then used this knowledge to create a very simple program to guess a number chosen by the
computer. At the moment, we do not have the ability to test whether the player guessed correctly;
that will come later in Part 1 when we look at flow control statements in Chapter 6. Chapter 3 covers
the operators that are available in C++. Operators are the means with which C++ allows us to create
logical programs that calculate and compute outcomes from our statements.
 
Search WWH ::




Custom Search