Need Program help reading files and using the strtok function?
Posted on 2003-03-20
I have this program that I have to write. It has something like this "Cole","Georgey","","34","34242"
I want to get rid of all the commas and quotation marks and then rearrange the data in a chart type form.
first Name last name number age
George Cole 34242 34
note : I am reading several lines from a file when I tried the strtok command I kept getting NULL and it erased some of my data. I can't get the data rearranged or get rid of both the " and ,. Is there another function I could use and what is it and how does it work?