課題7-4で作成したリストで表現されたキューに対してdequeueを行う関数を作成せよ。 dequeue関数を呼び出す前後でprint_queue_listを呼びだしdequeue関数が正常にはたら家いいることを 確認せよ。 (ヒント) dequeue関数のプロトタイプ宣言は char dequeue(struct queue *q);とする。 課題7ー4 #include<stdio.h> #include<stdlib.h> #include<string.h> typedef struct data{ struct data *next; char key; }data; typedef struct queue{ data *top,*rear; }queue; void print_queue_list(struct queue q); int main(){ data d1; data d2; data d3; data d4; queue q; d1.next = &d2; d1.key = 'a'; d2.next = &d3; d2.key = 'b'; d3.next = &d4; d3.key = 'c'; d4.next = NULL; d4.key = 'd'; q.top = &d1; q.rear = &d4; print_queue_list(q); return 0; } void print_queue_list(struct queue q) { while(q.top != NULL){ q.top = q.top->next; }
Standard input is empty
prog.c:1: error: stray ‘\350’ in program prog.c:1: error: stray ‘\252’ in program prog.c:1: error: stray ‘\262’ in program prog.c:1: error: stray ‘\351’ in program prog.c:1: error: stray ‘\241’ in program prog.c:1: error: stray ‘\214’ in program prog.c:1: error: expected identifier or ‘(’ before numeric constant prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\201’ in program prog.c:1: error: stray ‘\247’ in program prog.c:1: error: stray ‘\344’ in program prog.c:1: error: stray ‘\275’ in program prog.c:1: error: stray ‘\234’ in program prog.c:1: error: stray ‘\346’ in program prog.c:1: error: stray ‘\210’ in program prog.c:1: error: stray ‘\220’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\201’ in program prog.c:1: error: stray ‘\227’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\201’ in program prog.c:1: error: stray ‘\237’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\203’ in program prog.c:1: error: stray ‘\252’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\202’ in program prog.c:1: error: stray ‘\271’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\203’ in program prog.c:1: error: stray ‘\210’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\201’ in program prog.c:1: error: stray ‘\247’ in program prog.c:1: error: stray ‘\350’ in program prog.c:1: error: stray ‘\241’ in program prog.c:1: error: stray ‘\250’ in program prog.c:1: error: stray ‘\347’ in program prog.c:1: error: stray ‘\217’ in program prog.c:1: error: stray ‘\276’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\201’ in program prog.c:1: error: stray ‘\225’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\202’ in program prog.c:1: error: stray ‘\214’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\201’ in program prog.c:1: error: stray ‘\237’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\202’ in program prog.c:1: error: stray ‘\255’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\203’ in program prog.c:1: error: stray ‘\245’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\203’ in program prog.c:1: error: stray ‘\274’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\201’ in program prog.c:1: error: stray ‘\253’ in program prog.c:1: error: stray ‘\345’ in program prog.c:1: error: stray ‘\257’ in program prog.c:1: error: stray ‘\276’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\201’ in program prog.c:1: error: stray ‘\227’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\201’ in program prog.c:1: error: stray ‘\246’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\202’ in program prog.c:1: error: stray ‘\222’ in program prog.c:1: error: stray ‘\350’ in program prog.c:1: error: stray ‘\241’ in program prog.c:1: error: stray ‘\214’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\201’ in program prog.c:1: error: stray ‘\206’ in program prog.c:1: error: stray ‘\351’ in program prog.c:1: error: stray ‘\226’ in program prog.c:1: error: stray ‘\242’ in program prog.c:1: error: stray ‘\346’ in program prog.c:1: error: stray ‘\225’ in program prog.c:1: error: stray ‘\260’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\202’ in program prog.c:1: error: stray ‘\222’ in program prog.c:1: error: stray ‘\344’ in program prog.c:1: error: stray ‘\275’ in program prog.c:1: error: stray ‘\234’ in program prog.c:1: error: stray ‘\346’ in program prog.c:1: error: stray ‘\210’ in program prog.c:1: error: stray ‘\220’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\201’ in program prog.c:1: error: stray ‘\233’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\202’ in program prog.c:1: error: stray ‘\210’ in program prog.c:1: error: stray ‘\343’ in program prog.c:1: error: stray ‘\200’ in program prog.c:1: error: stray ‘\202’ in program prog.c:2: error: stray ‘\351’ in program prog.c:2: error: stray ‘\226’ in program prog.c:2: error: stray ‘\242’ in program prog.c:2: error: stray ‘\346’ in program prog.c:2: error: stray ‘\225’ in program prog.c:2: error: stray ‘\260’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\202’ in program prog.c:2: error: stray ‘\222’ in program prog.c:2: error: stray ‘\345’ in program prog.c:2: error: stray ‘\221’ in program prog.c:2: error: stray ‘\274’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\263’ in program prog.c:2: error: stray ‘\345’ in program prog.c:2: error: stray ‘\207’ in program prog.c:2: error: stray ‘\272’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\231’ in program prog.c:2: error: stray ‘\345’ in program prog.c:2: error: stray ‘\211’ in program prog.c:2: error: stray ‘\215’ in program prog.c:2: error: stray ‘\345’ in program prog.c:2: error: stray ‘\276’ in program prog.c:2: error: stray ‘\214’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\247’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\202’ in program prog.c:2: error: stray ‘\222’ in program prog.c:2: error: stray ‘\345’ in program prog.c:2: error: stray ‘\221’ in program prog.c:2: error: stray ‘\274’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\263’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\240’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\227’ in program prog.c:2: error: stray ‘\351’ in program prog.c:2: error: stray ‘\226’ in program prog.c:2: error: stray ‘\242’ in program prog.c:2: error: stray ‘\346’ in program prog.c:2: error: stray ‘\225’ in program prog.c:2: error: stray ‘\260’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\214’ in program prog.c:2: error: stray ‘\346’ in program prog.c:2: error: stray ‘\255’ in program prog.c:2: error: stray ‘\243’ in program prog.c:2: error: stray ‘\345’ in program prog.c:2: error: stray ‘\270’ in program prog.c:2: error: stray ‘\270’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\253’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\257’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\237’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\202’ in program prog.c:2: error: stray ‘\211’ in program prog.c:2: error: stray ‘\345’ in program prog.c:2: error: stray ‘\256’ in program prog.c:2: error: stray ‘\266’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\204’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\204’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\202’ in program prog.c:2: error: stray ‘\213’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\223’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\201’ in program prog.c:2: error: stray ‘\250’ in program prog.c:2: error: stray ‘\343’ in program prog.c:2: error: stray ‘\202’ in program prog.c:2: error: stray ‘\222’ in program prog.c:3: error: stray ‘\347’ in program prog.c:3: error: stray ‘\242’ in program prog.c:3: error: stray ‘\272’ in program prog.c:3: error: stray ‘\350’ in program prog.c:3: error: stray ‘\252’ in program prog.c:3: error: stray ‘\215’ in program prog.c:3: error: stray ‘\343’ in program prog.c:3: error: stray ‘\201’ in program prog.c:3: error: stray ‘\233’ in program prog.c:3: error: stray ‘\343’ in program prog.c:3: error: stray ‘\202’ in program prog.c:3: error: stray ‘\210’ in program prog.c:3: error: stray ‘\343’ in program prog.c:3: error: stray ‘\200’ in program prog.c:3: error: stray ‘\202’ in program prog.c:5: error: stray ‘\357’ in program prog.c:5: error: stray ‘\274’ in program prog.c:5: error: stray ‘\210’ in program prog.c:5: error: stray ‘\343’ in program prog.c:5: error: stray ‘\203’ in program prog.c:5: error: stray ‘\222’ in program prog.c:5: error: stray ‘\343’ in program prog.c:5: error: stray ‘\203’ in program prog.c:5: error: stray ‘\263’ in program prog.c:5: error: stray ‘\343’ in program prog.c:5: error: stray ‘\203’ in program prog.c:5: error: stray ‘\210’ in program prog.c:5: error: stray ‘\357’ in program prog.c:5: error: stray ‘\274’ in program prog.c:5: error: stray ‘\211’ in program prog.c:6: error: stray ‘\351’ in program prog.c:6: error: stray ‘\226’ in program prog.c:6: error: stray ‘\242’ in program prog.c:6: error: stray ‘\346’ in program prog.c:6: error: stray ‘\225’ in program prog.c:6: error: stray ‘\260’ in program prog.c:6: error: stray ‘\343’ in program prog.c:6: error: stray ‘\201’ in program prog.c:6: error: stray ‘\256’ in program prog.c:6: error: stray ‘\343’ in program prog.c:6: error: stray ‘\203’ in program prog.c:6: error: stray ‘\227’ in program prog.c:6: error: stray ‘\343’ in program prog.c:6: error: stray ‘\203’ in program prog.c:6: error: stray ‘\255’ in program prog.c:6: error: stray ‘\343’ in program prog.c:6: error: stray ‘\203’ in program prog.c:6: error: stray ‘\210’ in program prog.c:6: error: stray ‘\343’ in program prog.c:6: error: stray ‘\202’ in program prog.c:6: error: stray ‘\277’ in program prog.c:6: error: stray ‘\343’ in program prog.c:6: error: stray ‘\202’ in program prog.c:6: error: stray ‘\244’ in program prog.c:6: error: stray ‘\343’ in program prog.c:6: error: stray ‘\203’ in program prog.c:6: error: stray ‘\227’ in program prog.c:6: error: stray ‘\345’ in program prog.c:6: error: stray ‘\256’ in program prog.c:6: error: stray ‘\243’ in program prog.c:6: error: stray ‘\350’ in program prog.c:6: error: stray ‘\250’ in program prog.c:6: error: stray ‘\200’ in program prog.c:6: error: stray ‘\343’ in program prog.c:6: error: stray ‘\201’ in program prog.c:6: error: stray ‘\257’ in program prog.c:6: error: stray ‘\343’ in program prog.c:6: error: stray ‘\201’ in program prog.c:6: error: stray ‘\250’ in program prog.c:6: error: stray ‘\343’ in program prog.c:6: error: stray ‘\201’ in program prog.c:6: error: stray ‘\231’ in program prog.c:6: error: stray ‘\343’ in program prog.c:6: error: stray ‘\202’ in program prog.c:6: error: stray ‘\213’ in program prog.c:6: error: stray ‘\343’ in program prog.c:6: error: stray ‘\200’ in program prog.c:6: error: stray ‘\202’ in program prog.c:8: error: stray ‘\350’ in program prog.c:8: error: stray ‘\252’ in program prog.c:8: error: stray ‘\262’ in program prog.c:8: error: stray ‘\351’ in program prog.c:8: error: stray ‘\241’ in program prog.c:8: error: stray ‘\214’ in program prog.c:8: error: stray ‘\357’ in program prog.c:8: error: stray ‘\274’ in program prog.c:8: error: stray ‘\227’ in program prog.c:8: error: stray ‘\343’ in program prog.c:8: error: stray ‘\203’ in program prog.c:8: error: stray ‘\274’ in program prog.c:8: error: stray ‘\357’ in program prog.c:8: error: stray ‘\274’ in program prog.c:8: error: stray ‘\224’ in program prog.c: In function ‘print_queue_list’: prog.c:66: error: expected declaration or statement at end of input
Standard output is empty