Solved

Easy question.

Posted on 2000-03-20
3
312 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 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

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

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…
C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

689 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