C语言动态创建数组并增加数组长度
#include#include using namespace std; #define InitSize 10 typedef struct{ int *data; int MaxSize; int length; }Customer; void InitList(Customer customer){ customer.data = (int *)malloc(sizeof(int)*InitSize); customer.length=0; customer.MaxSize=InitSize; cout<



