No. The '++' operator is a shortcut for x+=1—being x a variable in your coding. If you'd like a variable to increase by any number different from 1, you should do something like this: x+=n, being n any number you'd like to add to your variable.
No. The '++' operator is a shortcut for x+=1—being x a variable in your coding. If you'd like a variable to increase by any number different from 1, you should do something like this: x+=n, being n any number you'd like to add to your variable.
Comments
0 comments
Please sign in to leave a comment.