Borderou de evaluare (job #16876)
Utilizator | Data | 14 februarie 2007 13:15:51 | |
---|---|---|---|
Problema | Factorial | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function `int main()':
user.cpp:12: error: parse error before `while'
user.cpp: At global scope:
user.cpp:22: error: ISO C++ forbids declaration of `f2' with no type
user.cpp:22: error: conflicting types for `int f2'
user.cpp:2: error: previous declaration as `FILE*f2'
user.cpp:23: error: `x' was not declared in this scope
user.cpp:23: error: ISO C++ forbids declaration of `fprintf' with no type
user.cpp:23: error: `int fprintf' redeclared as different kind of symbol
/usr/include/stdio.h:322: error: previous declaration of `int fprintf(FILE*,
const char*, ...)'
user.cpp:23: error: initializer list being treated as compound expression
user.cpp:24: error: ISO C++ forbids declaration of `fclose' with no type
user.cpp:24: error: `int fclose' redeclared as different kind of symbol
/usr/include/stdio.h:206: error: previous declaration of `int fclose(FILE*)'
user.cpp:25: error: parse error before `return'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !