Borderou de evaluare (job #27505)
Utilizator | Data | 6 martie 2007 14:41:29 | |
---|---|---|---|
Problema | Puteri | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.2/backward/fstream.h:31,
from user.cpp:1:
/usr/lib/gcc/i486-linux-gnu/4.1.2/../../../../include/c++/4.1.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:6: error: ISO C++ forbids declaration of 'ex' with no type
user.cpp:9: error: ISO C++ forbids declaration of 'con' with no type
user.cpp: In function 'int con(int)':
user.cpp:17: warning: passing 'double' for argument 1 to 'int abs(int)'
user.cpp: At global scope:
user.cpp:21: error: ISO C++ forbids declaration of 'sol' with no type
user.cpp: In function 'void tipar(int)':
user.cpp:27: error: 'cout' was not declared in this scope
user.cpp:28: error: 'cout' was not declared in this scope
user.cpp:28: error: 'endl' was not declared in this scope
user.cpp: At global scope:
user.cpp:53: error: '::main' must return 'int'
user.cpp: In function 'int main()':
user.cpp:55: error: 'endl' was not declared in this scope
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !