Sunday, March 12, 2017

Intro to C++ Part 10

Expression 

The following table is showing some example and the equivalent meaning ones:

EXAMPLE
EQUIVALENT TO
count += 2;
count = count + 2;
total -= discount;
total = total - discount;
bonus *= 2;
bonus = bonus * 2;
change %= 100;
change = change % 100;
amount *= cnt1 + cnt2;
amount = amount * (cnt1 + cnt2);  

No comments:

Digital Design Part 3

4th→ assembler translates it to the machine language. 1.6 [20] <§1.6> Consider two diļ¬€erent implementations of the same instru...