It looks like it should work.
Have you considered combining the three loops into one?
Type: Posts; User: SirPrattlepod
It looks like it should work.
Have you considered combining the three loops into one?
Since every character in the string must be checked, is there an advantage to using std::find? I think using find would result in requiring four loops (see my suggestion below) similar to how the...