Dear friends:
i have a data file, the structure of the file is as follows:
// data.txt
$Elements
1 1 2.5
2 2 1.0 2.0
3 2 3.0 4.0
4 4 1.0 3.2 2.7 1.6
$EndElements
In the data.txt, the fisrt column is the row number, and the second column is the number of values behind it.
How to read in it with a loop. which input command should i use.
Regards