Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Easy question.

Posted on 2000-03-20
3
Medium Priority
?
321 Views
Last Modified: 2012-05-04
Hello C++ experts.
I don't know C++ at all .
All I need is a decimal value of
 0x00002000L
and
 0x00004000L




0
Comment
Question by:Maximka
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
wildy earned 40 total points
ID: 2635182
0x00002000 = 8192
0x00004000 = 16384

0
 
LVL 1

Expert Comment

by:wildy
ID: 2635187
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
 
LVL 1

Author Comment

by:Maximka
ID: 2635234
Cool !
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question