質問編集履歴

1

#include <stdio.h>の追加

2022/05/11 07:07

投稿

pocomi
pocomi

スコア3

test CHANGED
File without changes
test CHANGED
@@ -1,7 +1,8 @@
1
1
  現在双方向循環リストでrotateをする関数を書いてるのですが、-1である番兵ノードがどうしても出力されてしまい、番兵ノードを出力しない出力方法が思いつきません。
2
2
  どなたかアドバイスを頂きたいです。
3
3
 
4
+ ```C
4
- ```C#include <stdio.h>
5
+ #include <stdio.h>
5
6
  #include <stdlib.h>
6
7
 
7
8
  struct t_node {