You can't just assign a "string" to an char array, that's not how it works.
I recommend you to learn the basics of C/C++ before you even try some things like this, because you ask the most basic things.
anyways:
Code:
char names[][24] = {
{"Name1"},
{"Name2"}
// ..etc
};