Borderou de evaluare (job #97779)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Alfanumeric (clasa a 5-a) | Compilator | cpp |
Rundă | Tema 18 clasa 5 | Status | evaluat |
Dată | 13 dec. 2014 16:21:29 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:14: error: conflicting declaration ‘std::ifstream fin’
user.cpp:9:8: error: ‘fin’ has a previous declaration as ‘FILE* fin’
user.cpp:11:15: error: conflicting declaration ‘std::ofstream fout’
user.cpp:9:14: error: ‘fout’ has a previous declaration as ‘FILE* fout’
user.cpp:13:7: error: invalid operands of types ‘FILE* {aka _IO_FILE*}’ and ‘long int’ to binary ‘operator>>’
user.cpp:17:10: error: invalid operands of types ‘FILE* {aka _IO_FILE*}’ and ‘char’ to binary ‘operator>>’
user.cpp:18:10: error: request for member ‘eof’ in ‘fin’, which is of non-class type ‘FILE* {aka _IO_FILE*}’
user.cpp:23:12: error: invalid operands of types ‘FILE* {aka _IO_FILE*}’ and ‘char’ to binary ‘operator<<’
user.cpp:27:13: error: invalid operands of types ‘FILE* {aka _IO_FILE*}’ and ‘char’ to binary ‘operator<<’
user.cpp:33:10: error: invalid operands of types ‘FILE* {aka _IO_FILE*}’ and ‘const char [2]’ to binary ‘operator<<’
user.cpp:33:15: error: expected ‘;’ before ‘x’