I am using Visual Studios 2013 and I keep getting this error, but I donโt understand why.
class CLI{ string commands[2] = {"create", "login"}; public: void addCommand(), start(), getCommand(string); };
Mistake:
error C2536: 'CLI::CLI::commands': cannot specify explicit initializer for arrays
c ++ arrays c ++ 11 visual-studio-2013
Ethan
source share