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数组变量还是没用。
数字协处理器应该现在的电脑都有吧。还有浮点库在哪,怎么添加进来?