Hey sorry for the messy title, However I cannot really find the right definition for this group of sings (!@#$%^&*()_+?><), however, there is any way I would be able to check if my string contain any of those sings? I was really struggling, And honestly I was tryng to do it using a very messy "if" mentioned below:
if (c == '!' || c == '@' || c == '#' || c == '$' || c == '%' || c == '^' || c == '&' || c == '*' || c == '(' || c == ')' || c == '' || c == '' || c == '+' || c == '{' || c == '}' || c == '/' || c == '>' || c == '<' || c == '>' || c == '~' || c == '`' || c == '?' || c == ':' || c == '"')
Im sure there is a better way to check it, but I do not know any function that could check it. Help would be appreciated.