c和c++动态数组的实现

canca14年前 (2012-04-05)537
#include<stdio.h>#include<malloc.h>#include<stdlib.h>int *ywshuzumalloc(int n) //一维数组分配{int *a;a=(int *)mal…