Thank you, that solved my problems :D
Type: Posts; User: aonic
Thank you, that solved my problems :D
Thanks, now I get:
1 = 98
1 = (2 << 0) * 1
1 = 196
1 = (2 << 1) * 1
1 = 392
1 = (2 << 2) * 1
1 = 784
1 = (2 << 3) * 1
Hello, I am new to these great forums here and new to C++ too :D
Anyway, I am coding a binary to decimal converter and I have the math right and everything but C++ does not want to play nice...