I'm trying to write a simple program, and one of the lines is
int num = -2147483648;
and I get a "Negative integral constant converted to unsigned type" error.
Even when I do
int num = 2147483648 * -1;
It is the same thing.
The variable num is an int and not an unsigned int, so what's going on?