# Hexidermis

• 06-01-2006
Hugo716
Hexidermis
Just wodering if there is anywhere to learn about hexidermis, or whatever it is called. like the addresses or variables and stuff. cheers in advance.

Hugo.
• 06-02-2006
laserlight
I never heard of 'hexidermis'.
• 06-02-2006
Hugo716
lol u know what i mean.

the hex number part of it or something. ill try to find the name later but if u know wht i mean please help me :D.
• 06-02-2006
Desolation
Hexadecimal numbers... Basically just read on pointers and hexadecimal numbers (also called hex numbers or base 16 numbers).
• 06-02-2006
computation
in short, we are accustomed to counting in multiples of ten. we use the digits 0-9. once we need to count past nine we add another decimal place, giving us the number 10, hexidecimal is exactly the same except that it uses the digits 0-F (0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F). a total of 16 digits. in hexidecimal you would count ...8,9,A,B,C,D,E,F,10,11,12... where 10, 11, and 12 are equivalent to 16, 17, and 18 respectively.

http://www.lyzrdstomp.com/binary/hex1.html

"base number conversion tutorial hexidecimal"
• 06-02-2006
DougDbug
FYI Hugo,

There are two main reasons for using hex.
As you probably know, the computer uses binary (base-2) internally.

1. It is easier to convert between hex and binary, than to convert between decimal and binary. If you memorize the conversions between 0 and F, you can do hex-binary conversions of any size in your head! If fact, you already know 0 and 1, so you only have to memorize 14 more. And, some are really easy to remember... like 5=0101, A=1010, F=1111. Then, there are the power-of-two numbers... 2=0010, 4=0100, 8=1000. Now, you only have to learn 8 more conversions and you've got it!

2. Hex is built into cin and cout, and you can use hex directly in your source code. (Binary is not so simple in C++.)

In addition, Hex is easier to write and speak.... AAAA is a lot easier than 1010101010101010. And, that's only 16 bits! (And, just for fun, AAAA hex = 43690 decimal. ;) )

The calculator that comes with Windows can do binary, octal, decimal, and hexadecimal conversions if you set it to the scientific view.

You can do an awful lot of C++ programming without ever using binary, octal, or hex. When you work with Bitwise Operators, hex is handy. And, if you work in the hardware world (like me), you deal with individual bits every day. Conceptually, we are usually working with bit-states or bit-patterns... We aren't thinking of the hexadecimal numbers as "numbers"... It's usually "Is bit 3 high or low?"

One last comment - Don't try to "save a number in hex format." All numbers are stored in binary. By default, C++ assumes that you are entering decimal numbers, and it displays numbers in decimal by default. So, the number-base is only important during input/output. You can enter one number in hex, another in decimal. Then add them together (without worrying about their base). And finally, display the result in octal if you wish.
• 06-03-2006
Salem
> I never heard of 'hexidermis'.
It's the art of taking dead programs, stuffing them and displaying them in appropriate natural settings inside glass cabinets.
• 06-03-2006
SlyMaelstrom
No, no. That's "hexidermy". "Hexidermis" is actually quite unknown to most people. You see common belief is that the human body only has two layers of skin. The epidermis and the dermis. Recent studies have shown that they're are actually 22 layers of skin, which are much thinner than the previous beliefs. The sixteenth layer being, of course, the "hexidermis". Recent studies have also shown that similar humor to the humor just posted could be described as "hellalamenis".

Anyway, here is a little model of how to convert to other bases from decimal.