🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
_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