俏挺喳 发表于 5 天前

c++遍历数组的多种方式

方法一:普通的for循环

for (int i = 0; i < sizeof(a) / sizeof(a); i++) {      cout
页: [1]
查看完整版本: c++遍历数组的多种方式