scanf的浮点格式转换程序没有连接
用TC-2.0系统编写小的C程序,如果程序里用到浮点输入,有时运行中会出现下面错误信息:
scanf : floating point formats not linked
Abnormal program termination
这个错误信息的意思是:scanf的浮点格式转换程序没有连接。
应该怎么理解这段话?
[解决办法]
在scanf前,先来一句float f=0.0;
发布时间: 2012-02-12 17:16:33 作者: rapoo
scanf的浮点格式转换程序没有连接
用TC-2.0系统编写小的C程序,如果程序里用到浮点输入,有时运行中会出现下面错误信息:
scanf : floating point formats not linked
Abnormal program termination
这个错误信息的意思是:scanf的浮点格式转换程序没有连接。
应该怎么理解这段话?
[解决办法]
在scanf前,先来一句float f=0.0;