Borderou de evaluare (job #447879)
Utilizator | Data | 1 mai 2010 18:54:11 | |
---|---|---|---|
Problema | Binar | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.2/backward/iostream.h:31,
from user.cpp:1:
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
user.cpp:26: error: 'char* rand' redeclared as different kind of symbol
/usr/include/stdlib.h:380: error: previous declaration of 'int rand()'
user.cpp: In function 'int main()':
user.cpp:35: error: assignment of function 'int rand()'
user.cpp:35: error: cannot convert 'char*' to 'int ()()throw ()' in assignment
user.cpp:46: error: cannot convert 'int (*)()throw ()' to 'char*' for argument '1' to 'char* fgets(char*, int, FILE*)'
user.cpp:54: error: pointer to a function used in arithmetic
user.cpp:54: error: ISO C++ forbids comparison between pointer and integer
user.cpp:59: error: pointer to a function used in arithmetic
user.cpp:59: error: ISO C++ forbids comparison between pointer and integer
user.cpp:52: warning: unused variable 'nrDe1'
user.cpp:75: error: cannot delete a function. Only pointer-to-objects are valid arguments to 'delete'
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !