<om***********@inbox.comskrev i meddelandet
news:11**********************@m73g2000cwd.googlegr oups.com...
Can anybody please explain to me what the statment
floatptr=(float*) intptr;
does?
What happens here is that you tell the compiler that intptr is really
a pointer to a float. "Trust me, I know what I'm doing".
If you remove the cast, the compiler will tell you that the convertion
doesn't work. Adding the cast will not change that, it will just tell
the compiler to shut up.
Bo Persson