![]() |
|
|
|
| ||||||
|
Welcome to the The ProgrammersTalk Community forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| Tags: |
![]() |
![]() | | LinkBack | Thread Tools | Display Modes | ![]() |
| |
| |||
| The "+=" operator adds the value of the variable on the right to the current value of the variable on the left. The "-=" operator does the same thing, just with subtraction instead of addition. In the example, if rowSum = 10 and data[row][col] = 14, the command "rowSum += data[row][col]" would make rowSum = 24. Get it? |
![]() |
| Thread Tools | |
| Display Modes | |
| |