Hi
I need to know how to read ASCII data in words to search for a string of 5 letter words in a text file. Anyone knw how to do it? I'm going in circles here . Here's a portion of my code
FILE *fp ;
SIZE = 5;
str = (char *) malloc(sizeof(char)*SIZE);
strstart = str ;
temp = (char *) malloc(sizeof(char)*5);
if((fp = fopen("word.txt","rb")) == NULL)
printf("file cannot be opened\n");