for loop Ex3_09 would not compile for me
The example "Try it Out" in Ex3_09.cpp would not compile. I had to change the loop from ' for(i = 0, power = 1; i <= max; i++, power += power) '
The only way it would compile for me was to redo the for loop to
for(power = 1; i <= max; i++, power += power)
Can anyone explain why this occurred.
|