Easy question.

Hello C++ experts.
I don't know C++ at all .
All I need is a decimal value of
 0x00002000L
and
 0x00004000L




LVL 1
MaximkaAsked:
Who is Participating?
 
wildyConnect With a Mentor Commented:
0x00002000 = 8192
0x00004000 = 16384

0
 
wildyCommented:
Btw, this is not C++, this is hexadecimal notation. To convert hex to dec you can use the Windows Calculator (or a standard calculator that have this function).

The 0x before the number identifies it as hex, the L after the number identifies it as long.
0
 
MaximkaAuthor Commented:
Cool !
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.