Public Group

This topic is 4871 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

To anybody that is out there that can please help me. I am a newbie to C++ and I am needing help understanding hexadecimal so that it will help me with understanding memory addresses better. Does anybody out there know any good tutorials so that I can educate myself further????? THANKS, D\$

##### Share on other sites
This looks to be a good introduction. It's the first Google result for "understanding hexadecimal".

##### Share on other sites
Hexadecimal is just the base 16 number system.

Given a positive integer b, all numbers given by the sequence of n digits <Di> can be represented by the sum:

D0 * b0 + D1 * b1 + D2 * b2 + ... + Dn-1 * bn-1

Our normal number system is the decimal system for which b = 10. One interpretation of b is the number of unique digits numbers can be composed of, including zero. Thus, in hexadecimal or base 16, there are 16 unique digits rather than 10 as in decimal. These digits are thus:

0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F

So, the hexadecimal number F32A is equivalent to this sum in decimal:

10 * 1 + 2 * 16 + 3 * 256 + 15 * 4096 = 62250.

• ### What is your GameDev Story?

In 2019 we are celebrating 20 years of GameDev.net! Share your GameDev Story with us.

• 14
• 12
• 29
• 11
• 44
• ### Forum Statistics

• Total Topics
634856
• Total Posts
3019661
×