I'm very new to C.
I'm supposed to do a simple wordsearch puzzle, so for the "dictionary" I did:
char **dictionary = {"DOG", "ELEPHANT", "CAT", "ETC", ""};
But when I try to compile, I get a warning saying 'excess elements in scalar initializer' for every word in the dictionary. Is the char ** wrongly initialized? How should I do it?
EDIT: My functions recieve char **dictionary.
Thanks in advance.