For Programmers: Free Programming Magazines  


Home > Archive > Fortran > December 2005 > Read a series of data to a array









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Read a series of data to a array
getridofmyself

2005-12-25, 2:20 am

Hi,everyone!
I have a problem of reading data to a array.

some software output a series of data which is not limited

length,such as below , when the data is too long to a row,it turn

to another line.

23,24,67,56,78,90...
3,6,7

I need read them into a array N(i) whose index is 23,67,90 ...as above

How could I do? Maybe the read's format is essential.
Thank you


xiaoguang
2005.12.25
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com