programming question
Jan. 25th, 2006 02:05 pmIf I have a file with a bunch of values seperated by '|', what is the best way
for reading them if I'm using C? The lines look like a|b|c|d|e
where a,b,c,d can be floats, integers, or even strings. It seems like there should
be an easy way to read this without having to %*c past the | characters, but I'm stumped.
for reading them if I'm using C? The lines look like a|b|c|d|e
where a,b,c,d can be floats, integers, or even strings. It seems like there should
be an easy way to read this without having to %*c past the | characters, but I'm stumped.
no subject
Date: 2006-01-25 09:46 pm (UTC)