+ 1

What is the meaning of b - = a+ in c++

it is really uncommon in my previous studies in this language

14th Sep 2017, 5:37 PM
Ahmed Eltaweel
Ahmed Eltaweel - avatar
2 Antworten
+ 1
i guess that this will make a compile error, but "b -= a++;" will give rhe answer. So i will stick to that. -= is a fancy and simpler way of saying b = b - a. the same goes to +=, *=, /=
14th Sep 2017, 5:40 PM
Paul
0
The second part of your answer is what I am seeking
14th Sep 2017, 7:33 PM
Ahmed Eltaweel
Ahmed Eltaweel - avatar