摘要: 转之:http://blog.csdn.net/tanghw/article/details/6554538本文需要解决C++中关于数组的2个问题:1. 数组作为函数参数,传值还是传址?2. 函数参数中的数组元素个数能否确定?先看下面的代码。#include <iostream>using namespace std;void testArrayArg(int a[]){ cout << endl; cout << "in func..." << endl; cout << "array address: 阅读全文
posted @ 2012-08-22 14:41 冷夜 - 网游编程技术 阅读(13648) 评论(1) 推荐(2) 编辑