So I know that C++ has an Operator Precedence and that
int x = ++i + i++;
is undefined because pre++ and post++ are at the same level and t
It might be saying that it is undefined because you have chosen an int, which is the set of whole numbers. Try a double or float which include fractions.