annoying 'cannot specify explicit initializor for arrays' ERROR

Basically this section of the code keeps failing in my VS 2013 compiler. Giving the above error. But when I run it on xcode it works fine. Can anyone please tell me how to fix this error? I have added () around the {} but that did not work either... Thanks

: _validCommands{"hi", "hello", "haldo"} { }
Topic archived. No new replies allowed.