用C语言将txt文件读入后,如何存入不同的数组,并输出在屏幕上答:&dServicetime); fprintf(stdout,"%d,%.2f,%.2f,%.2f,%.2f,%.2f,%.2f\n",num,dCoordinateX,dCoordinateY,nDemand,nTimewindowE,nTimewindowL,dServicetime); } fclose(fp);system("pause"); return 0;} 你那些读取都乱用的%d,%f,%lf要分清好不。全是数字要用什么数组呢 ...