• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 322
  • Last Modified:

Easy question.

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




0
Maximka
Asked:
Maximka
  • 2
1 Solution
 
wildyCommented:
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

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now