Solved

Easy question.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
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.

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now