严蔚敏数据结构,线性表动态分配顺序存储结构算法中
Status InitList_Sq(SqList &L)
{
L.elem=(ElemType*)malloc(LIST_INIT_SIZE*sizeof(ElemType));
if(!L.elem)exit(overflow);
L.length=0;
L.listsize=LIST_INIT_SIZE;
return OK;
}
这个算法编译后出现
error C2143: 语法错误 : 缺少“)”(在“&”的前面),
求解答