摘要: C++ 数组遍历的两种方式: #include <iostream> using namespace std; int main() { // 一维数组 int fibonacci[5] = {1, 1, 2, 3, 5}; // 使用索引遍历 // 求数组长度:sizeof(array)/size 阅读全文
posted @ 2019-11-17 00:07 no樂on 阅读(13033) 评论(0) 推荐(0) 编辑