Writing a Guessing Game with C++ Types
BRUCE R. SUTHERLAND · Apress eBooks · 2014
You will begin the process of learning C++ by learning about the different built-in types that the language supports. C++ has built-in support for integers, floating point numbers, booleans, and enumerators. This chapter covers all of these types. We also look at the different types of operators that can be used to manipulate and compare these types of values. It is useful to understand how C++ handles variables before we begin to create programs in the language. To start, we take a look at the difference between dynamically and statically typed languages, which includes how we declare and define variables in C++. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.