守听 发表于 2024-9-5 16:01:40

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

方法一:平凡的for循环

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