Array error: too many initializers

I don't use arrays a lot so I apologize if this is a very simple question. I want to create a const char array but I continue to get the error:

error C2078: too many initializers


Can someone tell me why this error occurs and how to fix it?

1
2
  const char Letters[] = { "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", 
"n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z" };
Last edited on
Value in double quotes is a null-terminated string; an array of characters.

Value in single quotes is a char.

Change the quotes.
Topic archived. No new replies allowed.