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 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…