continue文は多重ループ時にラベルを用いて何処からcontinueする指定出来るらしいのですが・・・.
for(int c = 0; c<10; c++){
TEST_LOOP: for(int b = 0; b<10; b++){
for(int a = 0; a<10; a++){
puts("test");
if(a == 5) continue TEST_LOOP;
}
}
}
どうすれば使えますか?
error C2146: 構文エラー : ';' が、識別子 'TEST_LOOP' の前に必要です。
error C2065: 'TEST_LOOP' : 定義されていない識別子です。