|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
||||
|
||||
|
+= operator?
I have long fogoton the += -= and all those operators. I am looking at a 2d array and came across this:
for (int i=0; i<maxrow; i++) { sum += array2d[0][i]; etc. etc. } does the += equal all the i's together? EDIT:: Did i just call them operators?
__________________
hmmm... |
|
#2
|
|||
|
|||
|
sum += num;
is equivalent to: sum = sum + num; |
|
#3
|
||||
|
||||
|
thats right..
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > += operator? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|