A
amphetaman
I know this might seem kind of silly, but is it necessary to cast int
to double?
Do I have to do
int i = 42;
double d = static_cast<double>(i);
or can I just do d = i?
to double?
Do I have to do
int i = 42;
double d = static_cast<double>(i);
or can I just do d = i?