TA贡献1820条经验 获得超2个赞
长度为10的字符串对象数组。可以这样用:a[0] = "this is the first string in array.";a[1] = "this is the second string in array.";cout << a[0] << endl << a[1] << endl;
TA贡献1842条经验 获得超12个赞
定义了一个具有10个元素的数组,数组中的每个元素都是string类型的。
举报