I use code that makes some ints float for division.
size_t a;
uint8_t b, c;
a = (float)b / (float)c;
I compiled with warning flags turned on, and I got one for the "old throw". Is there a better or correct way that I should throw these things? If so, how?
source
share