Hi, i have two text files file-a and file-b and i would like to compare the the text of file-a to file-b. the format of file-a is just like a normal essay paragragh and file-b is one word per line. right now what i did was to use fscanf to run through each word in file-a and compare it with file-b. How can i actually pick up a word from file-a and ommit special characters like (,-,+?
e.g happy+ will jus extract happy instead of happy+... and instead of comparing each word through file-b one by one, is there a better way for me to optimize the speed of the comparison?