i'm a pretty novice C programmer. What i am trying to do is, take the following flat file. What i want to do is output each word in the flat file using a "," as a seperator.
this , is , an , example
What i want to do is output in some form of a loop:
(like in php using the foreach() function)
and output each word outputting:
first element: this
second element: is
third element: an
fourth element: example
I hope this doesn't sound jibberish. I'm trying to explain as best as i can. Thanks in advance for anybody whom can help me.