0
Code:
while(fscanf(arq,"%d %d %d\n\r",x[i],y[i],raio[i])!=EOF){
cout<<x[i]<<endl;
i++;
}
Contents of the file:
mdb236rl D CALC B 912 2247 58 mdb240rl D CALC B 1752 776 95 mdb244rm D CIRC B 1940 1209 209 mdb248rl F CALC B 1805 1836 42 mdb252rm F CALC B 2743 1318 94
Which error appears, or which variable result?
– Sveen