|
PEPM1
5 posts
 Popping In
|
05-09-2010 14:22
Assignment 5.i On page 202 wants us to use shift operations.
When checking answer on page 602
temp += (adresl>>6);
is shown.
I can't seem to find the meaning of += on a page before page 202
I have seen a table on page 113 and 114 but don't show +=
As I have probably missed the page, what page explains in the meaning of += please?
Or is += a typing error?
Thank you.
|
|

GeenBert
64 posts
 Frequent Visitor
|
07-09-2010 17:27
You're right, it is missing in the table on page 113 for some reason. It should be added to the table after ++, as follows:
+= means increment with another value than 1
example: i+=8
after the operation i is incremented by 8
|
|
PEPM1
5 posts
 Popping In
|
18-12-2010 11:53
A bit late, but thank you for your explanation
|
|
Gerhard
3 posts
 Popping In
|
01-05-2011 18:30
Hi
i+=8 is the same as i=i+8.
It is a "C" shorthand method
|
|
PEPM1
5 posts
 Popping In
|
03-05-2011 00:37
GerhardHi
i+=8 is the same as i=i+8.
It is a "C" shorthand method
Thank you Gerhard
|