prog.c: In function 'main':
prog.c:72:12: error: invalid operands to binary + (have 'float *' and 'double')
C=C+N[J]*R[J]*QR*QR; }
^
prog.c:77:10: error: invalid operands to binary + (have 'float *' and 'float')
C=C+DH2;
^
prog.c:78:8: error: assignment to expression with array type
X=PI+atan(V);
^
prog.c:79:16: error: invalid operands to binary / (have 'float *' and 'float')
I=(int)(X/DX+1);
^
prog.c:84:19: error: invalid operands to binary * (have 'float *' and 'double')
{ F1=-ELL[M]-C*V*V+HR*(1+V*V)*(A0+A1*X);
^
prog.c:84:41: error: invalid operands to binary * (have 'float' and 'float *')
{ F1=-ELL[M]-C*V*V+HR*(1+V*V)*(A0+A1*X);
^
prog.c:85:12: error: invalid operands to binary * (have 'int' and 'float *')
DF=-2*C*V+HR*(2*V*(A0+A1*X)+A1);
^
prog.c:85:31: error: invalid operands to binary * (have 'float' and 'float *')
DF=-2*C*V+HR*(2*V*(A0+A1*X)+A1);
^
prog.c:86:8: error: lvalue required as left operand of assignment
V=V-F1/DF;
^
prog.c:87:8: error: assignment to expression with array type
X=PI+atan(V);
^
prog.c:88:17: error: invalid operands to binary / (have 'float *' and 'float')
II=(int)(X/DX+1);
^
prog.c:92:27: error: invalid operands to binary * (have 'float' and 'float *')
BET0=(1+V*V)*(B0+B1*X);
^
prog.c:108:6: error: 'DHH' undeclared (first use in this function)
DHH=DHH+DH[J]*N[J];
^
prog.c:108:6: note: each undeclared identifier is reported only once for each function it appears in
prog.c:129:9: error: lvalue required as left operand of assignment
else{ T=T+DT;
^
prog.c:130:9: error: lvalue required as left operand of assignment
K=K+1;
^
prog.c:148:51: error: expected ')' before ';' token
CP=H[2][0]+Q[2][0]*(B[2]-R[2]*fabs(Q[2][0]);
^
prog.c:181:29: error: invalid operands to binary * (have 'float' and 'float *')
F2=(AL*AL+V*V)*(B0+B1*X)+BET+C31*(AL-AL0);
^
prog.c:182:22: error: invalid operands to binary * (have 'float' and 'float *')
F2V=2*V*(B0+B1*X)+AL*B1;
^
prog.c:183:23: error: invalid operands to binary * (have 'float' and 'float *')
F2A=2*AL*(B0+B1*X)-V*B1+C31;
^
prog.c:184:23: error: 'F1V' undeclared (first use in this function)
DAL=(F2/F2V-F1/F1V)/(F1A/F1V-F2A/F2V);
^
prog.c:184:29: error: 'F1A' undeclared (first use in this function)
DAL=(F2/F2V-F1/F1V)/(F1A/F1V-F2A/F2V);
^
prog.c:186:10: error: lvalue required as left operand of assignment
AL=AL+DAL;
^
prog.c:187:9: error: lvalue required as left operand of assignment
V=V+DV;
^
prog.c:188:9: error: assignment to expression with array type
X=PI+atan(V/AL);
^
prog.c:189:12: error: invalid operands to binary > (have 'float *' and 'double')
if(X>(1.5*PI))
^
prog.c:190:9: error: assignment to expression with array type
X=1.5*PI;
^
prog.c:192:9: error: assignment to expression with array type
X=0;
^
prog.c:194:12: error: invalid operands to binary / (have 'float *' and 'float')
II=X/DX+1;
^
prog.c:197:8: error: 'K1' undeclared (first use in this function)
K1=K1+1;
^
prog.c:199:8: error: 'XXX' undeclared (first use in this function)
XXX=X-I*DX;
^
prog.c:199:13: error: invalid operands to binary - (have 'float *' and 'float')
XXX=X-I*DX;
^
prog.c:208:8: error: 'AL000' undeclared (first use in this function)
AL000=AL00;
^
prog.c:209:12: error: lvalue required as left operand of assignment
AL00=AL0;
^
prog.c:210:11: error: lvalue required as left operand of assignment
AL0=AL;
^
prog.c:211:30: error: invalid operands to binary * (have 'float' and 'float *')
BET=(AL*AL+V*V)*(B0+B1*X);
^
prog.c:214:8: error: 'PUMP' undeclared (first use in this function)
PUMP=HR*(AL*AL+V*V)*(A0+A1*X);
^
prog.c:214:34: error: invalid operands to binary * (have 'float' and 'float *')
PUMP=HR*(AL*AL+V*V)*(A0+A1*X);
^
prog.c:225:21: error: 'SSNN' undeclared (first use in this function)
{ RNSS[I]=pow(SSNN,(3-I));
^
prog.c:230:13: error: lvalue required as left operand of assignment
for(K=0;K<19;K++)
^
prog.c:230:22: error: lvalue required as increment operand
for(K=0;K<19;K++)
^
prog.c:250:13: error: lvalue required as left operand of assignment
for(K=0;K<67;K++)
^
prog.c:250:22: error: lvalue required as increment operand
for(K=0;K<67;K++)
^
prog.c:254:13: error: lvalue required as left operand of assignment
for(K=0;K<N;K++)
^
prog.c:254:21: error: lvalue required as increment operand
for(K=0;K<N;K++)
^
prog.c:255:8: error: 'BIG' undeclared (first use in this function)
{ BIG=fabs(A[K][K]);
^
prog.c:255:21: error: subscripted value is neither array nor pointer nor vector
{ BIG=fabs(A[K][K]);
^
prog.c:257:17: warning: comparison between pointer and integer
for(I=K;I<N;I++)
^
prog.c:258:22: error: subscripted value is neither array nor pointer nor vector
{ SIZE=fabs(A[I][K]);
^
prog.c:266:17: warning: comparison between pointer and integer
for(J=K;J<N;J++)
^
prog.c:267:14: error: array subscript is not an integer
{ ABIG=A[IBIG][J];
^
prog.c:268:9: error: array subscript is not an integer
A[IBIG][J]=A[K][J];
^
prog.c:268:23: error: subscripted value is neither array nor pointer nor vector
A[IBIG][J]=A[K][J];
^
prog.c:269:12: error: subscripted value is neither array nor pointer nor vector
A[K][J]=ABIG;
^
prog.c:270:14: error: array subscript is not an integer
CBIG=C[IBIG];
^
prog.c:271:9: error: array subscript is not an integer
C[IBIG]=C[K];
^
prog.c:275:16: warning: comparison between pointer and integer
for(I=0;I<N;I++)
^
prog.c:276:7: error: 'RATIO' undeclared (first use in this function)
{ RATIO=A[I][K]/A[K][K];
^
prog.c:276:17: error: subscripted value is neither array nor pointer nor vector
{ RATIO=A[I][K]/A[K][K];
^
prog.c:276:25: error: subscripted value is neither array nor pointer nor vector
{ RATIO=A[I][K]/A[K][K];
^
prog.c:277:16: warning: comparison between pointer and integer
for(J=K;J<N;L++)
^
prog.c:277:19: error: 'L' undeclared (first use in this function)
for(J=K;J<N;L++)
^
prog.c:278:11: error: subscripted value is neither array nor pointer nor vector
{ A[I][J]=A[I][J]-RATIO*A[K][J];}
^
prog.c:278:19: error: subscripted value is neither array nor pointer nor vector
{ A[I][J]=A[I][J]-RATIO*A[K][J];}
^
prog.c:278:33: error: subscripted value is neither array nor pointer nor vector
{ A[I][J]=A[I][J]-RATIO*A[K][J];}
^
prog.c:282:12: error: lvalue required as left operand of assignment
for(K=0;K<N;K++)
^
prog.c:282:20: error: lvalue required as increment operand
for(K=0;K<N;K++)
^
prog.c:283:21: error: subscripted value is neither array nor pointer nor vector
{ X[K]=C[K]/A[K][K]; }
^
prog.c:285:16: warning: comparison between pointer and integer
for(I=0;I<N;I++)
^
prog.c:288:9: error: incompatible types when assigning to type 'float' from type 'float *'
RN=N;
^
prog.c:289:8: error: assignment to expression with array type
H=(B-A)/RN;
^
prog.c:290:14: error: invalid operands to binary / (have 'int' and 'float (*)[50]')
I=(X-A)/H+0.5;
^
prog.c:294:12: warning: comparison between pointer and integer
else if(I>(N-2))
^
prog.c:296:9: warning: assignment makes integer from pointer without a cast
else I=N-2;
^
prog.c:297:13: error: invalid operands to binary / (have 'int' and 'float (*)[50]')
T=(X-A)/H-TI;
^
prog.c:302:38: error: expected declaration or statement at end of input
}
^
prog.c: At top level:
prog.c:30:66: warning: array 'Y0' assumed to have one element
float B[5],R[5],F[5],N[5],N1[5],AA[5],AR[5],DH[5],ELL[5],XSIN[5],Y0[];
^
prog.c: In function 'main':
prog.c:302:38: warning: control reaches end of non-void function [-Wreturn-type]
}
^