This
error message appears in Visual C++ when more than 4 characters are assigned to a character variable. Ex:
char a = 'abcde';
It is always better to prefer constants with only one character if you are dealing with character variables.
char a = 'a';
If you want to use constants with more than characters, you would choose strings instead of character variables.
string a = "abcde";