I'm using Visual Studios 2013 and I keep getting this error yet I don't understand why.
class CLI{
string commands[2] = {"create", "login"};
public:
void addCommand(), start(), getCommand(string);
};
The error:
error C2536: 'CLI::CLI::commands': cannot specify explicit initializer for arrays
See Question&Answers more detail:os