How to show the conversion of 1387977189696842278 to 134315e67439aa26 using C++?
How to show the conversion of 1387977189696842278 to 134315e67439aa26 using C++?
Well, a quick lookup in the docs could have solved your problem...Qt Code:
quint64 i = 1387977189696842278; .arg(i) .arg(i, 0, 16); qWarning() << str;To copy to clipboard, switch view to plain text mode
vidya.p (13th December 2011)
Hi,
If you want use Qt, you can use above code.
In C++ you must use library can handle big data like biginteger(https://mattmccutchen.net/bigint/) or gmp(http://gmplib.org/).
So, you can convert your number to HEX with this tutorial link http://www.permadi.com/tutorial/numDecToHex/
THank you for your attention.
Best regards,
Toto
vidya.p (13th December 2011)
thanks for the help.
Bookmarks