Borderou de evaluare (job #1359331)

Utilizator Marius.PPatrascu Marius Florin Marius.P Data 24 februarie 2015 22:09:23
Problema Convertor Status done
Runda rosedu_cdl_2015 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c: In function ‘main’: user.c:44:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (a = getchar ()) != EOF ) { ^ user.c:44:25: error: expected expression before ‘!=’ token while (a = getchar ()) != EOF ) { ^ user.c:44:32: error: expected statement before ‘)’ token while (a = getchar ()) != EOF ) { ^ user.c:46:30: error: break statement not within loop or switch if (fscanf (f,"%c",&a)==0) break; ^ user.c:47:29: error: continue statement not within a loop if (a == '{' || a =='[' ) continue; ^ user.c:55:5: error: continue statement not within a loop continue; ^ user.c:65:3: error: continue statement not within a loop continue; ^

Ceva nu functioneaza?