Main.cc: In function 'int main()': Main.cc:8:16: warning: array subscript has type 'char' [-Wchar-subscripts] t[ch[i]]++; ^ Main.cc:17:24: error: unable to find string literal operator 'operator"" _max' cout<char(t_num)<<" "_max; ^