void initlist_sq(sqlist*l){ l->elem=(elemtype*)malloc(maxsize*sizeof(elemtype)); if(!l->elem) exit(0); l->length=0; l->listsize=maxsize;}