
Originally Posted by
ilovecookies
Thanks alot for relaying the message Why!

What'd HD get banned for?
I got banned for insulting the feeling of some rather ch00bish VBFags

Originally Posted by
ilovecookies
I want to learn a few simple side things such as getting a good understanding of hexidecimal.
Because ANY type of number can apparently be stored in a number of different variable types. It compared it like this.
Code:
int soda=42
int pepsi=0x042
While they have different values, it's still technically allowed.
Decimal numbers have a base of 10:
0,1,2,3,4,5,6,7,8,9
which means there are 10 numbers(0 to 9) that fit into 1 'slot'
Hex(adecimal) has a base of 16(Decimal means 10, hex means 6, 6+10=16

)
0x0,0x1,0x2,0x3,0x4,0x5,0x6,0x7,0x8,0x9,0xA,0xB,0x C,0xD,0xE,0xF
which means that there are 16 'numbers'(0x0 to 0xF) that fit into 1 'slot'.
if you go over the maximum number for a 'slot' a new 'slot' is used and placed infront of it, example:
0xF, if i want to go 1 higher it will be 0x10
0x1F +1 will be 0x20, and so on untill you reach
0xFF, +1 on that will be 0x100.
0xFFF:
15*16^2=3840
15*16^1= 240
15*16^0= 15+
============
4095
0xB92 - start at the right side
for the 2 we have moved 0 characters to the left.
so the value of that 2 in decimal is:
2*16^0=2, since 16^0 is 1.
for the 9 we have moved 1 character to the left.
so the value of that 9 in decimal is:
9*16^1=144, since 16^1 is 16
for the B we have moved 2 characters to the left.
so the value of that b in decimal is:
11*16^2=2816, since 16^2 is 256.
Then there is also octal(octo means 8, so it has a base of 8

)
0,1,2,3,4,5,6,7
for octal to decimal
2471(octal) = 1337 in decimal.
1*8^0=1
7*8^1=56
4*8^2=256
2*8^3=1024
1024+256+56+1=1337
and binary has a base of 2
0 and 1
for binary to decimal:
11001(bin) = 25 in decimal.
1*2^0 = 1
0*2^1 = 0
0*2^2 = 0
1*2^3 = 8
1*2^4 = 16
16+8+0+0+1 = 25
I hope that explained it for you.