俏挺喳 发表于 2025-6-4 19:41:05

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

方法一:普通的for循环

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