1. Parenthesize expressions;
2. When you change the value of an operand, do not use it elsewhere in the same expression.
Reference:
S.B. Lippman, "C++ Primer (5th version)", PUBLISHING HOUSE OF ELECTRONICS INDUSTRY, Beijing, 2013, Pages 139.
1. Parenthesize expressions;
2. When you change the value of an operand, do not use it elsewhere in the same expression.
Reference:
S.B. Lippman, "C++ Primer (5th version)", PUBLISHING HOUSE OF ELECTRONICS INDUSTRY, Beijing, 2013, Pages 139.