Solved

Easy question.

Posted on 2000-03-20
3
301 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
  • 2
3 Comments
 
LVL 1

Accepted Solution

by:
wildy earned 10 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…
This article will show you some of the more useful Standard Template Library (STL) algorithms through the use of working examples.  You will learn about how these algorithms fit into the STL architecture, how they work with STL containers, and why t…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

839 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