Large Number - How to get the value

Asked

Viewed 75 times

2

I have that value

v6[0] = 22;
*(_QWORD *)&v6[1] = 42949672960069i64;

Is there any way I can get the real value of this number? What should I know about reverse engineering ?

How to compile this in Dev C++ ? Thank you.

  • Welcome to Stack Overflow in Portuguese @Vashet . In case you Haven’t noticed, this is the SO Portuguese community, if you’re Looking to get help in English Please visit the SO English Community. If you’re Looking to get help in English, Please Edit and Translate your Question.

  • 1

    Thanks bro. Thanks bro

1 answer

1


You need to know the size of the data you expect to receive.

See the table with the data types and their respective size in this documentation

Depending on the size of the number you expect, even if it is integer, you need a long, float, or double to store it.

  • From what I heard, the size of the data is 10. o. O! How should I proceed now ? : ) Does it have to be one of only 3 ? Here is long double. That is double. Thank you!

  • I mentioned the 3 as an example, but if you need the long double, use it!

  • If I told you I never messed with large numbers would you believe ? Well I know how to define any variable. Is it the same way as the others ? How would I set the value and number to be used ? Help me !

  • is like any other variable statement: "name type; "

  • Just to understand, the result would be : 42949672960069 ? Using int64 ? :

  • I believe so, since you put = 42949672960069i64

Show 1 more comment

Browser other questions tagged

You are not signed in. Login or sign up in order to post.