I don't know much about the C style I/O, but my guess was that fgets was reading the '\n' (read from stdin) character into your check string. I performed the following test which removed the '\n' from the "check" string, and it worked.
Code:
void search(void)
{
char buf[1000];
char input[100];
char *check;
char *found;
FILE *fpr;
printf("\nPlease enter a word to search for an instance of:");
fgets (input,100,stdin);
check = strtok( input, "\n" );
if ((fpr=fopen("Data.txt","r"))==NULL){
printf("Couldn't Open \"c:/MyFolder/Data.txt\" ! \n");
exit(1);
}
fgets (buf,1000-1,fpr);
printf( "%s\n%s\n", buf, check);
found = strstr(buf,check);
printf( "%s", found );
if (found)
printf("Found!");
else {
printf("Not found!!!!!!!!!!!!!!!!!");
}
fclose(fpr);
}
like i said, i'm unfamiliar with C's input functions, but i would guess there's one that would ignore the '\n' from the user's input...
mxr