Because you will start to learn about control statements in C++, it's important to understand the C++ operators that exist in the language first, as they play an important role in control statements.
You will work with comparison operators to determine if values are equal, greater, or less than each other. C++ also allows you to use mathematical operators for incrementing values to help control the number of iterations in a loop. You can also make use of bitwise operators to speed up some operations in your code.
|+= (y += x)||same as y = y + x|
|-= (y -= x)||same as y = y - x|
|*= (y *= x)||same as y = y * x|
|++||increment by 1|
|--||decrement by 1|
|!=||not equal to|
|>=||greater than or equal to|
|<=||less than or equal to|
|The Conditional (Ternary : 3중 조건문) (0)||2015.11.04|
|switch Statments (0)||2015.11.04|
|Introducing Operators (0)||2015.11.01|
|Unions Quiz (0)||2015.10.27|