error C2143: syntax error : missing ';' before '{'
Errors:
error C2143: syntax error : missing ';' before 'type'
error C2143: syntax error : missing ';' before 'type'
error C2143: syntax error : missing ')' before 'type'
error C2065: 'j' : undeclared identifier
error C2059: syntax error : ')'
error C2143: syntax error : missing ';' before '{'
error C2065: 'j' : undeclared identifier (like 8 times)
in
for(int j=1; i<no_of_inputs_in_file; j++) {
if(vol[j] < min_vol){
min_vol = vol[j];
}
if(vol[j] > max_vol) {
max_vol = vol[j];
}
if(current[j] < min_vol) {
min_cur = current[j];
}
if(current[j] > max_vol) {
max_cur = current[j];
}
}
No comments:
Post a Comment