Hi my friend....I want to define variable that is in HEX value & has 64 bits.but I dont know what I can use.....I use unsigned long long but it doesnt usefull.
can any one help me here?
#include <cstdint> // http://en.cppreference.com/w/cpp/header/cstdintint main()
{
std::uint64_t i = 0x123456789abcdef ; // unsigned integer type with exactly 64 bits (if available)
std::uint_fast64_t j = 0x123456789abcdef ; // fastest unsigned unsigned integer type with at least 64 bits
std::uint_least64_t k = 0x123456789abcdef ; // smallest unsigned unsigned integer type with at least 64 bits
std::uintmax_t l = 0x123456789abcdef ; // unsigned integer type with the largest width
decltype(0x123456789abcdef) m = 0 ; // integer type that can hold at least 0x123456789abcdef
}