I'm playing around with the code below, and what I want to happen is to be able to tokenize whatever is in the text file, and do some str comparisons with.
So far, I'm only getting the first word/token.
using namespace std;
fscanf(fp, "%s", &str);
pch=strtok(str, " ,.");
while(pch != NULL)
//--arbitrary line to stop program from exiting before viewing output goes here --