plan 1:
INT i = 32;
INT x = -1;
X = 1 << 32;
Scenario 2:
INT i = 32;
INT x = -1;
X = 1 << i;
In VC6 and VC7, the X of the scheme 1 is: 0; the X of the scheme 2 is: 1
In C # and Java, the X of the scheme 1 is: 1; the X of the scheme 2 is: 1
Ask a high guidance? Thank you! Wan! Thank you !!