Ask coding questions

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

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

Commentshotnewtop
mwilki7 (407)

works fine for me

UmbraSicaro (7)

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