Difference between += and =+ in C++

前端 未结 4 1388
栀梦
栀梦 2020-12-11 16:15

While programming in C++, I often confuse both \"+=\" and \"=+\", the former being the operator I actually mean. Visual Studio seems to accept both, yet they behave differen

4条回答
提交回复
热议问题