lianyun wrote:
我做了一个读取csy file的小程序,在tc下编译,运行都完全正确。程序如下:
double points[10][3];
if((fp=fopen("points.txt","r"))==NULL)
{
??printf("cannot open this file");
??exit(0);
}
i=0;
while(!feof(fp))
{
fscanf(fp,"%s %s %s",[$points[0],&points[1],&points[2])]
i++;
}
欢迎光临 iCAx开思网 (https://www.icax.org/) | Powered by Discuz! X3.3 |