Borderou de evaluare (job #1737889)

Utilizator ionanghelinaIonut Anghelina ionanghelina Data 5 august 2016 11:04:16
Problema Secventa 3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int number()’: user.cpp:5:12: error: ‘buffer’ was not declared in this scope while (buffer[P] < '0' || buffer[P] > '9') { ^ user.cpp:5:19: error: ‘P’ was not declared in this scope while (buffer[P] < '0' || buffer[P] > '9') { ^ user.cpp:7:18: error: ‘DIMB’ was not declared in this scope if (P == DIMB) { ^ user.cpp:9:37: error: ‘fin’ was not declared in this scope fread (buffer, 1, DIMB, fin); ^ user.cpp:9:40: error: ‘fread’ was not declared in this scope fread (buffer, 1, DIMB, fin); ^ user.cpp:12:12: error: ‘buffer’ was not declared in this scope while (buffer[P] >= '0' && buffer[P] <= '9') { ^ user.cpp:12:19: error: ‘P’ was not declared in this scope while (buffer[P] >= '0' && buffer[P] <= '9') { ^ user.cpp:15:18: error: ‘DIMB’ was not declared in this scope if (P == DIMB) { ^ user.cpp:17:37: error: ‘fin’ was not declared in this scope fread (buffer, 1, DIMB, fin); ^ user.cpp:17:40: error: ‘fread’ was not declared in this scope fread (buffer, 1, DIMB, fin); ^ user.cpp: In function ‘int main()’: user.cpp:30:12: error: ‘buffer’ was not declared in this scope fread (buffer, 1, DIMB, fin); ^ user.cpp:30:23: error: ‘DIMB’ was not declared in this scope fread (buffer, 1, DIMB, fin); ^ user.cpp:30:29: error: ‘fin’ was not declared in this scope fread (buffer, 1, DIMB, fin); ^ user.cpp:30:32: error: ‘fread’ was not declared in this scope fread (buffer, 1, DIMB, fin); ^ user.cpp:35:5: error: ‘n’ was not declared in this scope n = number(); ^ user.cpp:35:17: error: expected ‘}’ at end of input n = number(); ^

Ceva nu functioneaza?