Издательство: | Книга по требованию |
Дата выхода: | июль 2011 |
ISBN: | 978-6-1346-1196-1 |
Объём: | 80 страниц |
Масса: | 141 г |
Размеры(В x Ш x Т), см: | 23 x 16 x 1 |
Please note that the content of this book primarily consists of articles available from Wikipedia or other free sources online. Augmented assignment is the name given to certain operators in certain programming languages (especially those derived from C). An augmented assignment is generally used to replace a statement where an operator takes a variable as one of its arguments and then assigns the result back to the same variable.This means "find the number stored in the variable x, add 1 to it, and store the result of the addition in the variable x." In general, in languages offering this feature, most operators that can take a variable as one of their arguments and return a result of the same type have an augmented assignment equivalent that assigns the result back to the variable in place, including arithmetic operators, bitshift operators, and bitwise operators. On the other hand, enthusiastic use of these features (especially with sub-expressions within larger expressions) soon produces sequences of symbols that are difficult to read or understand, and worse, a mistype can easily produce a different sequence of gibberish that although accepted by the compiler does not produce desired results.
Данное издание не является оригинальным. Книга печатается по технологии принт-он-деманд после получения заказа.