Borderou de evaluare (job #320814)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Gusteri ( clasa a 5-a ) | Compilator | cpp |
Rundă | temas7_5 | Status | evaluat |
Dată | 3 nov. 2017 18:59:01 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:21: warning: left operand of comma operator has no effect [-Wunused-value]
user.cpp:9:36: warning: right operand of comma operator has no effect [-Wunused-value]
user.cpp:9:40: warning: right operand of comma operator has no effect [-Wunused-value]
user.cpp:9:44: warning: right operand of comma operator has no effect [-Wunused-value]
user.cpp:9:48: warning: right operand of comma operator has no effect [-Wunused-value]
user.cpp:9:52: warning: right operand of comma operator has no effect [-Wunused-value]
user.cpp:9:54: error: assignment of function ‘int fscanf(FILE*, const char*, ...)’
user.cpp:9:54: error: cannot convert ‘int*’ to ‘int(FILE*, const char*, ...) {aka int(_IO_FILE*, const char*, ...)}’ in assignment
user.cpp:10:28: warning: left operand of comma operator has no effect [-Wunused-value]
user.cpp:10:31: error: assignment of function ‘FILE* fopen(const char*, const char*)’
user.cpp:10:31: error: cannot convert ‘const char [2]’ to ‘FILE*(const char*, const char*) {aka _IO_FILE*(const char*, const char*)}’ in assignment