Thanks AlephZero.
I sorted out the syntax error, it was due to the variable type declaration.
But, now I have another problem. It does not execute the do loop at all. I print out 'npoints' and the value is 0.
What would be wrong?
No error message in this case.
gcc2012
Thanks AlephZero, I tried that way and it gives syntax error.
How would you read the data file organized as follows:
- sequential formatted
- six columns of real numbers
- number of rows are not always known
My immediate goal is to get the data read and each column would form an individual...
Hi,
I am new to the forum, apologies if I break any rule posting a new thread. I could not find the answer in similar threads came up after searching the forum.
I want to read a formatted file of six column data. Reading works OK, but I want to put it into a do loop with the repeat as many as...