can anybody help me? i am new in c++.please..
++
--
*=
+=
-=

Recommended Answers

All 6 Replies

sounds like a fun homework assignment.

They are mathematical operators. Add one to the value of current variable and store the new value in current variable. Subtract one from current value of variable and store new value in current variable. Multiple the current variable value with the right hand side of the operator and store the product in the current variable, etc.

While you're at it, don't forget /= and %=

sounds like a fun homework assignment.

thank you so much.it helps me.

sorry.wrong comment before.actually,thanks for your comment.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.