Officially a geek
Originally posted by axemansean
clickwir == showoff
clickwir == showoff
I just searched google for some source code of a program that i knew had avalaible source code and then copied the first couple of lines.
h:
Originally posted by 99civic_love
:rick:
i'm reading the life, the universe, and everything by the way
:rick:
i'm reading the life, the universe, and everything by the way
Oh I am gonna get DNT PANIC as my license plate once my current plates expire. It was that or 42, I think DNT PANIC looks cooler.
I can teach you thats if your really want to know...ill just do it im bored anyways.
Lets say we have 10110011
Remember binary is Based 2
So make a list going right to left, start with one and then start x2
example
128 64 32 16 8 4 2 1
If you need more numbers after 128 just x2 that and so on...but our binary number has 8 bits so 128 is ok.
Just put the ones and zeros if you want but dont need to, youll see why soon.
example
128 64 32 16 8 4 2 1
1 0 1 1 0 0 1 1
And just add the numbers with one underneath them
128
32
16
2
+ 1
----
calculator
179
Doing backwards is the same thing
Lets do another number...81
Just make the list again and just fill
128 64 32 16 8 4 2 1
81 cant fill 128 becuase its smaller but it can fill 64
soo put a one under it...
64 32 16 8 4 2 1
1
now substract 81-64=17, now 17 cant fill 32 but it can fill 16 and after that its 17-16=1, now it can only fill 1
64 32 16 8 4 2 1
1 0 1 0 0 0 1
its 81 is 1010001 in binary
Lets say we have 10110011
Remember binary is Based 2
So make a list going right to left, start with one and then start x2
example
128 64 32 16 8 4 2 1
If you need more numbers after 128 just x2 that and so on...but our binary number has 8 bits so 128 is ok.
Just put the ones and zeros if you want but dont need to, youll see why soon.
example
128 64 32 16 8 4 2 1
1 0 1 1 0 0 1 1
And just add the numbers with one underneath them
128
32
16
2
+ 1
----
calculator
179
Doing backwards is the same thing
Lets do another number...81
Just make the list again and just fill
128 64 32 16 8 4 2 1
81 cant fill 128 becuase its smaller but it can fill 64
soo put a one under it...
64 32 16 8 4 2 1
1
now substract 81-64=17, now 17 cant fill 32 but it can fill 16 and after that its 17-16=1, now it can only fill 1
64 32 16 8 4 2 1
1 0 1 0 0 0 1
its 81 is 1010001 in binary


