I want to use switch-case in my program but the compiler gives me this error:
switch expression of type \'QString\' is illegal
How can I us
This seems a little saner IMHO.
bool isStopWord( QString w ) { return ( w == "the" || w == "at" || w == "in" || w == "your" || w == "near" || w == "all" || w == "this" ); }