- 721 名前:デフォルトの名無しさん mailto:sage [2008/05/11(日) 01:10:46 ]
- ボーランドでコンパイルしたのですが、
E2293 linearEq5.c 4:)が必要 って出ます。 #include<stdio.h> #include<math.h> #define MAX_DATA 1000//データ点まで想定 void read_data(double x[],double y[],int &order ,int &data_number)// データファイルの読み込み { FILE* ifp; char ifile[20]; printf("Input the file name of input data:"); scanf("%s",ifile); printf("何次近似にしますか?:"); fscanf(ifp,"%d",&order); printf("Input a data number:"); fscanf(ifp,"%d",&data_number); if((ifp=fopen(ifile,"rt"))==NULL){ fprintf("Can't open input file \"%s\"\n",ifile); } 途中までです。 一様、visualではこのエラー表示は出ません。 どうしたらいいか教えてください。
|

|