質問編集履歴

2

2019/11/24 00:05

投稿

Aty
Aty

スコア7

test CHANGED
File without changes
test CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  void *labels[2] = { &&LABEL0, &&LABEL1 };
18
18
 
19
- goto *pointer[i];
19
+ goto *labels[i];
20
20
 
21
21
  LABEL0:
22
22
 

1

switch内に追記

2019/11/24 00:05

投稿

Aty
Aty

スコア7

test CHANGED
File without changes
test CHANGED
@@ -66,9 +66,9 @@
66
66
 
67
67
  case 0: goto case i+1; //定数値が必要です。
68
68
 
69
- case 1: break;
69
+ case 1: Console.WriteLine("i=0"); break;
70
70
 
71
- case 2: break;
71
+ case 2: Console.WriteLine("i=1"); break;
72
72
 
73
73
  }
74
74