A
Ameya
i want to read from a trace file ....but my problem is i am interested
only in first 6 columns of my 10 - 12 wide text file. Each column is
separated by a space (the number of columns vary on each row) for. e.g
an entry looks this way
r 10.33011 _0_ AGT 0 ACK 48 [0:234 0:44 8 0] [0 0] [5 0]
i only want to read till 48. I am able to read all the variables for
the first line, but after processing first line, i want to scan from
next line ignoring the data from square brackets.
is there any other function which moves the pointer to next line after
one instance OR please let me know what i have to do to move the file
pointer to next line, after reading 48 in the above example.
please help.
Thanks
AD.
only in first 6 columns of my 10 - 12 wide text file. Each column is
separated by a space (the number of columns vary on each row) for. e.g
an entry looks this way
r 10.33011 _0_ AGT 0 ACK 48 [0:234 0:44 8 0] [0 0] [5 0]
i only want to read till 48. I am able to read all the variables for
the first line, but after processing first line, i want to scan from
next line ignoring the data from square brackets.
is there any other function which moves the pointer to next line after
one instance OR please let me know what i have to do to move the file
pointer to next line, after reading 48 in the above example.
please help.
Thanks
AD.