Ask coding questions

← Back to all posts
Illegal instruction error
UmbraSicaro (9)

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

mwilki7 (1113)

works fine for me

UmbraSicaro (9)

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