I've opened up the txt document using the fopen function, and am trying to get the program to 'read' the file.
I'm trying to get it to read the txt file 1 character at a time, but am not entirely sure how to do this, would I used
Code:i = getchar(); while (i != EOF) { fscanf(fp,"%c",a); i++; }
Whereby a and i are integers.
How would I the go on to store this information into a linked list?
Thanks in advance for any help.