_ftol
I'm trying to compile lesson 6 and I keep getting a linker error: undefined reference to '_ftol' in Dev C++. Anyone know what might be the matter?
I know this is old, but what the hell:
inline DWORD FtoDW(float f){ DWORD d; _asm { fld f lea eax, [d] fistp dword ptr[eax] } return d;}
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement