Code:
fgets(array, 21, CSfile);
This line will read 20 characters from the file. fgets() doesn't know anything about comma seperated values.

Quote Originally Posted by littlemslexii View Post
I now know that in order to use fseek, I have to make my array a character array
???
fseek() has nothing to do with arrays.

It looks like you are lacking some fundamentals. Is this for homework?

Bye, Andreas