How To Declare Static Const Array

前端 未结 0 1295
别跟我提以往
别跟我提以往 2021-01-16 19:55

I coded like this in class with public modifier:

    static const string brands[] = {"Coca-Cola","Pepsi","Ruffles"};


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题