Hello All,
I have been struggling with this problem for some time now. I've browsed the formum history but didn't find a match for what I'm trying to do.
I have a big text file in a linux env and I want to read line by line (this is not a problem) and split the readed line into fields. In perl or php it would be easy to do this but as I am a "newbie" C programmer, I'm having some problems.
So for example the line is:
2004/12/03 12:01:59;information1;information2;information3
I want to get this line and put this info to vars like:
date , var1 , var2 , var3
so I can use this info latter in the program.
Can anyone help me with this ?
Thanks alot,
Gus