Im trying to compare a single char to an array of chars like for example



char input[100];
char notValid[20] = {'A','B','C'}
..
cin << input

..