Why doesn't this code work?
int x;
cin >> x;
With the input of 0x1a
I get that x == 0
and not 26
.
Why's that?
See Question&Answers more detail:osWhy doesn't this code work?
int x;
cin >> x;
With the input of 0x1a
I get that x == 0
and not 26
.
Why's that?
See Question&Answers more detail:os