You might want to examine a function strchrthat looks for a string for a given character:
include <string.h>
char *strchr (const char *s, int c);
strchr c ( char) , s. .
strchr , .
- :
if (strchr (",.();:-\"&?%$![]{}_<>/#*_+=", curChar) != NULL) ...
curChar char, string :
curChar = paragraph[subscript];
:
curChar = paragraph.substr(subscript, 1);
, , I want to change the if statement into [something] more meaningful and simple, , , .