ASCII转换成二进制的数据类型代码报错,请求各位大神帮忙

ASCII转换成二进制的数据类型代码出错,请求各位大神帮忙
我是把ASCII类型的数据转换成二进制类型的数据:
#include <stdlib.h>
#include <stdio.h>
int transform(char *szFlag)
{
FILE *fpIn=NULL,*fpOut=NULL;
//int iYearStart=2012;
//int iYearEnd=2012;
int iLine=471,iCol=669;
int iY,iD,iH,i,j;
char szInPath[256],szOutPath[256];
float fValue;
int iValue;
char szInFilename[256],szOutFilename[256];

sprintf(szInPath,"E:\\data\\awc\\awc.txt");
sprintf(szOutPath,"E:\\data\\awc_p\\");


//for(iY=iYearStart;iY<=iYearEnd;iY++)
//{

//printf("\nYear=%d",iY);
iY=1;iD=1;
//for(iD=1;iD<=1;iD++)
//{
printf("\nDay=%d.%d",iY,iD);

//for(iH=0;iH<24;iH++)
//{

sprintf(szInFilename,"%s",szInPath);
sprintf(szOutFilename,"%s%d.img",szOutPath,iD);
//printf("\ninput %s",szInFilename);
//printf("\noutput %s",szOutFilename);
fpIn=fopen(szInFilename,"r");
if(fpIn==NULL)
{
printf("\nOpen input %s failed!",szInFilename);
//continue;
}
fpOut=fopen(szOutFilename,"wb");
if(fpOut==NULL)
{
printf("\nOpen output %s failed!",szOutFilename);
fclose(fpIn);
//continue;
}
for(i=0;i<iLine;i++)
{
for(j=0;j<iCol;j++)
{
fscanf(fpIn,"%f ",&fValue);
iValue=(int)fValue;
fwrite((char*)&iValue,sizeof(float),1,fpOut);
}
}
fclose(fpIn);
fclose(fpOut);
return 0;
}
//}
//}

//}
int main()
{
printf("\nStart");

transform("awc.txt");

return 0;
}
这个程序刚开始还能运行成功,但自从电脑中病毒后,我在别的电脑上对着个数据进行转换,就会一直出错,若放到E盘则会出现runtime error,R6002 floating point support not loaded,我进行单步调试时,出现szInFilename”烫烫烫烫烫烫”"E:\\data\\awc_p\\";指针fpIn出现问题,应该是因为szInPath
和szInFilename出问题了,但是我的输入路径是正确的啊!

我的ASCII数据的前两行是
239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 303 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 191 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 149 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 174 174 174 174 174 174 174 174 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 237 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239 239