Hi. I am trying to read a file (csv) which has more that 256 characters in a line. I want to read the whole line and extract some information. I am using comma as a seperator.
At the moment, I am reading a line using fgets and placing the tokens in an array using strtok. Then I fgets the same...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.