C++ need help


#1


Can someone please explain what is going on here?


#2

Look up what -= does.
This should be fairly obvious