Hi,
I completely agree with Danilo that there is no general way to extract data from
a custom formated file. I once made a little program which reads data
a la gnuplot. It treats however only floats/integers no hex.
This might give a hint how to do it, extension to e.g. hex should be straightforward.
http://homepages.physik.uni-muenchen.de/~Otto.Schaile/macros/table2graph.C
This could also help for the case in this post (no sscanf):
[url]Cannot read a csv file containing more than 14 column
Cheers
Otto