In C(++) there's no need to convert the numbers into hex (if they're int, not strings). This should apply to all "advanced" programming languages at least.
C++ example:
Code:
#include <iostream>
int main(int argc, char **argv)
{
int number1 = 712366; // Dec
int number2 = 0x12355; // Hex
std::cout << std::hex << number1 << std::endl;
std::cout << std::dec << number2 << std::endl;
return EXIT_SUCCESS;
}
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum