Hi there,
Actually I've (probably) a "simple" problem. So I don't know how to cast a signed integer to an unsigned integer.
My code :
signed int entry = 0;
printf("Decimal Number : ");
scanf("%d", &entry);
unsigned int uEntry= (unsigned int) entry;
printf("Unsigned : %d\n", uEntry);
If I send the unsigned value to the console (see my last code line), I always get back an signed integer.
Can you help me?
Thanks a lot!
Kind regards, pro