2006-06-28から1日間の記事一覧
/*list queue(FIFO) buffer*/ #include struct cell{ double data; struct cell *next; };struct cell *qhead; struct cell *qtail; /*待ち行列end関数*/ void end(void) { qhead ='\0'; exit(1); } /*待ち行列enq関数*/ void enq(double x) { struct cell *…