我正在尝试使用sn_compile.sh脚本编译e文件。我收到一个错误:
enum {DIM = 3} //length of a vector
int vnumber; //Number of vectors
char vectorname; //Name of the vector
for(i=0; i<= vnumber; i++){
sprintf(vectorname, "vec_%u", i);
//Read vector values from a file,assign them to corresponding vector of length DIM
for(n=0; n<DIM; n++){
fscanf(fp, "%lf", &vectroname[n]);
}
//Print out the results
printf ("Vector &s is: %.3lf %.3lf %.3lf \n",
vectorname, vectorname[0], vectorname[1], vectorname[2]);
}
即使我明确定义了临时文件目录。我运行的命令:
.class {property: value;}
如何解决错误? 谢谢你的帮助