0
Average, max and min of floats in txt file.
I have to take data from a txt file containing 15 floats per line for an undefined number of lines. then calculating the average max and min for row and column, i thought of adding the floats to a matrix to calculate more easily the results. then id have to put the output value in a new txt file. I don't understand what's wrong with the code. https://code.sololearn.com/cJNfJFGyrpNv/#c
2 Respuestas
+ 1
Right, it solved a smaller problem i was having but the program still doesnt work
+ 1
I found the problem, i had to declare the chars not as char* but as char name [size], still you're right i made a dumb error