I\'m just amazed to know that I can\'t convert signed to unsigned int by casting!
int i = -62; unsigned int j = (unsigned int)i;
I thought
i=-62 . If you want to convert it to a unsigned representation. It would be 4294967234 for a 32 bit integer. A simple way would be to
num=-62 unsigned int n; n = num cout<
4294967234