Aha! I suspected as much. I tried substituting each type in a program and they seemed to do the same thing. Many thanks for your patience and the explanation.
Type: Posts; User: 200thhorseman
Aha! I suspected as much. I tried substituting each type in a program and they seemed to do the same thing. Many thanks for your patience and the explanation.
Sorry, I still don't understand. Can someone spell it out for me?
Hi all,
I have recently started to teach myself to program with C++ and have a question concerning casts.
What is the difference between -
i = sqrt(static_cast<double>(n))
and -