This code is supposed to go through a string and get certain words out of it. The problem right now is in tweetCrawl(std::string) function. I think it is an issue with the iterating tolower() block. When I run it, I am able to input the string at the start of the program, but when tweetCrawl is called, I get the message "exited, illegal instruction".
Illegal instruction error