Skip to content
← Back to Community
Illegal instruction error
Profile icon
UmbraSicaro

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".

Voters
Profile icon
ssaulolopes
Profile icon
UmbraSicaro
Comments
hotnewtop
Profile icon
mwilki7

works fine for me

Profile icon
UmbraSicaro

@mwilki7 Thats odd, I guess the problem must be on my side, because I still get the error. Thanks anyway.