float point support not loaded

宇宙379 2012-07-24 05:12:17
本人用VC2010做了个程序,发现出现float point support not loaded 问题。查找MSDN,如下:
Many Microsoft run-time library functions require floating-point support from a math coprocessor or from the floating-point libraries that accompany the compiler. Floating-point support functions are loaded only if required.

When you use a floating-point type specifier in the format string of a call to a function in the printf or scanf family, you must specify a floating-point value or a pointer to a floating-point value in the argument list to tell the compiler that floating-point support is required.

很奇怪的问题,拷贝生成的exe文件到其他电脑上,第一次能运行,第二次不能了。
自己的电脑上刚开始能运行,隔段时间也不能运行了。
但是把exe文件放在压缩包里,每次不解压,直接运行就没没问题。

MSDN上说是浮点库或者协处理器的问题。
我用了一个sscanf函数,但是初始化里面的float数组变量还是没用。
数字协处理器应该现在的电脑都有吧。还有浮点库在哪,怎么添加进来?
...全文
189 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

2,640

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 硬件/系统
社区管理员
  • 硬件/系统社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧