怎样创建字符串数组

使用char *数组或string数组

string month [Number]={{"January"},{"February"},{"March},{"April"},
                         {"May"},{"Jun"},{"July"},{"August"},
                         {"September"},{"October"},{"November"},{"December"}}  
char * month[Number]={{"January"},{"February"},{"March},{"April"},
                         {"May"},{"Jun"},{"July"},{"August"},
                         {"September"},{"October"},{"November"},{"December"}}

你可能感兴趣的:(学习随记)