已结贴√
问题点数:20 回复次数:8
求大神解答:missing ';' before 'constant'
编码时总是出现error C2143: syntax error : missing ';' before 'constant',不太懂,新手小白,求论坛大神多多指点,谢谢啦!下面是代码:
#include double interpl(int t,double u);
#include void main()
#include {
#include int ml=100;
const L=50000; double r=0.95;
const m=4; double stepfactor=0.002;
const n=40; double T=100;
const h=1000; double q[8],x0[2*m],x2[2*m];
const 1=L/h+1;(这里总是显示missing ';' before 'constant',求解答) double array[8];
double function(double[]); int i,j,k;
double raman_gain(double fP,double fS); double y1,y2;
double p[8][2*m]={ {1423,1446,1458,1500,2887,3643,3910,13524},{1424,1440,1458,1496,3000,3643,3910,1